Best Practices for DOI Web Scraping: How to Extract Data Efficiently and Ethically?

16 Replies, 1395 Views

Yo! Rate limits are a pain, but you can use libraries like `requests` with `time.sleep()` to space out your requests.

As for robots.txt, I personally follow it. It’s not just about ethics—it’s about not getting your IP banned lol.

Tools? I use BeautifulSoup for smaller projects and Scrapy for bigger ones. Also, check out Selenium if you need to handle JavaScript-heavy sites.

For ethics, just ask yourself: “Would I want someone scraping my site like this?” If the answer’s no, don’t do it.

Messages In This Thread



Users browsing this thread: 1 Guest(s)