from xvideos pornstar list scraper
PHP Code:
<?php
ini_set("memory_limit","-1");
ini_set('max_execution_time', '-1');
include_once 'simple_html_dom.php';
foreach (range('a', 'z') as $char) {
for($n=0;$n<=20;$n++){
$url = "http://www.xvideos.com/pornstars/".$char."/".$n;
$response_code=(get_headers($url)[0]);
if ((stripos($response_code, "200") !== false)) {
//echo $url."<br>";
$urlarr[]=$url;
}
}
}
//print_r($urlarr);
foreach ($urlarr as $url1) {
$html = file_get_html($url1);
foreach($html->find('p[class=profileName]') as $heading) { //for each heading
//find all spans with a inside then echo the found text out
echo $heading->find('a', 0)->plaintext . "<br>";
}
}