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

Active Directory Authenticated Proxy Server with Squid or CNTLM -

java - @PluginTarget(Node.class) not registering as neo4j plugin -

python - Calculate STD manually using Groupby Pandas DataFrame -