3 ms·
Confession : I am guilty of using regex superpowers to extract data from urls. Will check out w3lib soon!
by steinsgate 11y ago
Confession : I am guilty of using regex superpowers to extract data from urls. Will check out w3lib soon!
- stummjr 11y agoYou're not alone on that! :)
- hackerboos 11y agoI've had to write some gnarly XPath expressions to extract data with Scrapy. > //b[contains(.,'City')]/following-sibling::a[not(preceding-sibling::b[contains(.,'Country')])]/text()