Construct shortest valid css selector using BS4

后端 未结 0 645
醉酒成梦
醉酒成梦 2021-02-09 08:27

I am using the following function construct a css selector using BS4:

def nth_of_type(elem):
    count, curr = 0, 0
    for i, e in enumerate(elem.find_parent().f         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题