Jump to content

snoVop

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by snoVop

  1. Hello, I work on this code but I block ... I should recover the url: http://full-stream.org/12080-les-huit-salopards.html and display these links (youwatch etc ...) Or is the counsel in my code? <?php require_once "support/http.php"; require_once "support/web_browser.php"; require_once "support/simple_html_dom.php"; $html = new simple_html_dom(); $titleok = "les-huit-salopards" $urlok = 'http://full-stream.org/{id}-{titleok}.html'; for($i=1; $i<=$nbArticle; $i++; $titleok) { $urlAScroller = str_replace('{id}', $i, $urlok); } $html = file_get_html($urlAScroller); $links = array(); foreach($html->find('a[href^="http://youwatch.org"]') as $a) { $links[1] = $a->href; } foreach($html->find('a[href^="http://exashare.com"]') as $a) { $links[2] = $a->href; } foreach($html->find('a[href^="https://openload.co"]') as $a) { $links[3] = $a->href; } echo "</BR></BR>{$links['1']}</BR>"; echo "{$links['2']}</BR>"; echo "{$links['3']}"; ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.