What’s the best way to handle web scraping with PHP these days? or How can I improve my web scraping

18 Replies, 1289 Views

If you’re doing web scraping php, ditch Simple HTML DOM. Try Symfony’s DomCrawler—way more efficient.

For JS, use a headless Chrome with PHP wrapper. Pain to set up but works.

Blocks? Rotate IPs (I use Storm Proxies) and vary your headers. Also, avoid scraping during peak hours.

Messages In This Thread



Users browsing this thread: 1 Guest(s)