python - Transfering from Beautiful Soup to LXML -


अगर मेरे पास बीएस 4 में कोड है:

  shopping_bag_body = html_tree.find ('table' ('टीडी', एट्रर्स = {'क्लास': 'कॉलम- 5 '})। (' Span ', attrs = {' class ':' price '})  

ऐसे मामलों में बजाय एलएक्सएमएल xpath का उपयोग कैसे करें?


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -