All writing

Building a PHP Bot — Scraping Data from a Website

Building a PHP Bot — Scraping Data from a Website

Hello friends,

This is the first blog post on my site, and for the first topic I will try to explain how to build a bot with PHP. I already cover this in detail in a YouTube video, which you can reach from the link below.

The library I use here is called “simplehtmldom”. You can find the download link below.

With simplehtmldom you can pull whatever data you need out of simple sites without much trouble. By “simple site” I mean one with no security measures in place — for those, it is a genuinely useful library. If you get stuck anywhere, you can reach me through my social accounts.

To download the library, click here.

More writing