I want to learn how to scrape data from websites for my own personal projects. I have reasonable web dev experience with JS CSS and HTML so im familiar with programming. What language / resources would you guys recommend?
You can utilize PHP if you want to do basic web scraping that involves grabbing HTML from web pages and analyzing them using String manipulation. You can also do this through Python using BeautifulSoup.
If you want to scrape pages that have Javascript being invoked on the page with dynamic web elements, I would recommend checking out Selenium. This can be run on many different languages but I recommend Java. It acts as a browser emulator which can interact with dynamic elements on a web page and give you more information than just basic HTML scraping.
Cheerio (Javascript) and Beautiful soup (Python)
https://github.com/cheeriojs/cheeriohttps://www.crummy.com/software/BeautifulSoup/bs4/doc/
However they don't execute JS or load any external resource.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.