Coding a web scraper in PHP Archive
11 Mar 2015
Web scraping – part 2
![](https://www.how-to-hack.net/wp-content/uploads/2015/02/Web-Scraping-Logo-e1429010912922.jpg)
Web scraping In the previous article we identified the footprints to use and now it’s time to start coding. First we need to fetch content from a website. In PHP we can do this using CURL or file_get_contents. Downloading source code from website You’ll need a text editor. For this project I picked sublime. To