via some PHP library or do you resort to doing so in another programming language and import the scraped data in the PHP part of your system?
You may use https://github.com/spekulatius/phpscraper
For static html I think PHP or any other language is fine, but they are not good at scraping JavaScript SPAs. Ive only had success with python selenium + headless browser for scraping JavaScript generated content
Fantastic, thank you! Excellent examples
Any examples using Python that are easy to start scraping websites?
Search for Python BeautifulSoup. It's a well known library with lots of tutorials
Обсуждают сегодня