No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
crawler.php
crawlerTest.html
crawlerTest.php
crawlerTestVictim.html

README.md

crawler

Usage

  1. Initialize

$crawler = new Crawler();
$crawler->url = "crawlerTestVictim.html";
$crawler->init();

Or

$crawler = new Crawler("crawlerTestVictim.html");

  1. Query

Ex:

$images = $crawler->getTagAtrributes("img", "src");//Get the images<br/>
$headings = $crawler->getInnerText('h1');//Get the headings <br/>
$links = $crawler->getTagAtrributes("a", "href");//Get the links