Issue
Is there a way to combine these both XPath into one?
//li[@itemprop="worksFor"]/span/div/a/text()
//li[@itemprop="worksFor"]/span/div/text()
Background is that I want to see the organization in my scrapings, but the way its rendered varies:
https://github.com/wencakisa (with a
tag)
Expected result: @HackSoftware
https://github.com/djangofan (without a
tag)
Expected result: The Standard Insurance
Solution
//li[@itemprop="worksFor"]/span/div//text()
Answered By - SuperUser
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.