LemonScrap – PHP Class Untuk Scraping Website

Posted on Updated on

Sudah hampir 2 Tahun gue ngga pernah posting blog lagi, namun mulai hari ini kayaknya gue InsyaAllah bakalan mulai nulis2 ngga jelas lagi.

Oh iya, waktu dulu gue pernah bikin tutorial tentang Basic Website Scraping dengan PHP dan cURL, nah kali ini gue mau release wrappernya untuk melakukan hal tersebut, namanya LemonScrap dan bisa di download sourcenya di sini.

Apaan sih lemonScrap?

lemonScrap

lemonScrap is a PHP class to help basic web scraping easier by just writing some rules (at the current moment) either with regex or DOMpath.

You are free to use this class for whatever you like. The example of usage are given. in ls-*.php files.

It uses:

  • cURL (to connect to http)
  • regex (for rules parsing and modify the result)
  • DOMpath (for rules parsing)
Advertisements

One thought on “LemonScrap – PHP Class Untuk Scraping Website

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s