Need help building a Python program to scrape website data – any tips or libraries to use? or What’s

20 Replies, 887 Views

If you're building a python program to scrape website content, don’t sleep on Selenium if the site’s JS-heavy.

BS4 can’t handle dynamic content, but Selenium can (though it’s slower).

For blocking, headers like `User-Agent` and `Referer` help. Some sites also check cookies.

And yeah, split your code! A mess of linear scripts is nightmare fuel later.

Messages In This Thread



Users browsing this thread: 1 Guest(s)