Chapter 1. Instant PHP Web Scraping

Welcome to PHP Web scraping. Web scraping is the process of programmatically crawling and downloading information from websites and extracting unstructured or loosely structured data into a structured format.

This book assumes the reader has no previous knowledge of programming and will guide the reader through the basic techniques of web scraping through a series of short practical recipes using PHP, including preparing your development environment, scraping HTML elements using XPath, using regular expressions for pattern matching, developing custom scraping functions, crawling through pages of a website, including submitting forms and cookie-based authentication; logging in to e-mail accounts and extracting ...

Get Instant PHP Web Scraping now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.