Better HN
topnewbestaskshowjobs
Log inSign up

junilop

1 karma · joined Sep 10, 2020 (6y ago) · 5 submissions

Submissions

1.

How to scrape websites without knowing how to scrape(medium.com ↗)

4 points · by junilop · 6y ago · discuss

comment 6y ago · link · parent

didn't see that feature, makes sense now :)

comment 6y ago · link · parent

found this lib in the comments, tried it and looks nice. can be good for finding the xpath automatically and save the manual traversing overhead. https://github.com/alirezamika/autoscraper

comment 6y ago · link · parent

despite being undocumented, it really works well. I tried the readme examples and all work. maybe you didn't update the wanted list in the examples because it has changed in the page. IMO the biggest problem is the lack of js enabled content support.