PHP code example of jinas / filaa-crawler
1. Go to this page and download the library: Download jinas/filaa-crawler library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jinas / filaa-crawler example snippets
use Jinas\Filaa\Crawler;
$crawler = new Crawler;
$crawler
->setSchool(222) //School id
->setGrade(8) // Grade 8
->setSubject(12) // subject id (Business Studies)
->setType("videos") // videos,notes,worksheets
->extract();