New Topic
Results 1 to 5 of 5

Thread: Primewire.ag PHP Link Extractor

  1. Gavo's Avatar
    • My Website(s)
      DirtyWarez.org Forum.DirtyWarez.com
    • My Statistics
    #1
    18th Feb 2017, 02:37 PM
    I wrote this code for someone quickly, Its not pretty but it doesn't need to be.

    I will put it here in case it helps anyone.

    URL format to put in box
    Code:
    http://www.primewire*****watch-2790123-Ember-online-free
    output



    PHP Code:
    <?php
        
    if(empty($_POST))
            {
            echo
    '<form method="post" action="">URL <input type="text" name="site_url" > <input type="submit" value="GET"/></form>';
            }
        else
            {
            if (
    filter_var($_POST['site_url'], FILTER_VALIDATE_URL) === false
            die(
    "not a valid URL");

            
    $content file_get_contents(trim($_POST['site_url']));
            if(
    preg_match('/tt([0-9]{5,10})/'$content$m));
            echo  
    "http://www.imdb.com/title/tt".$m[1]."<br/><br/>";
            
    $dom = new DOMDocument();
            
    $dom->loadHTML($content);
            
    $divs $dom->getElementsByTagName("span");
            foreach(
    $divs as $div)
                {
                
    $cl $div->getAttribute("class");
                if (
    $cl == "movie_version_link")
                    {
                    
    $hrefs $div->getElementsByTagName("a");
                    foreach (
    $hrefs as $href)
                    
    $p parse_url($href->getAttribute("href"));
                    
    $s explode('&'$p[query]);
                    
    $ff base64_decode(str_replace("url="""$s[1]));
                    if( 
    strpos($ff'qertewrt') == false)
                    echo 
    $ff."<br/>";
                    }
                }
            }
    ?>
    Last edited by Gavo; 18th Feb 2017 at 03:07 PM. Reason: Added IMDB URL to top

  2. Streaming's Avatar
    • My Statistics
    #2
    18th Feb 2017, 02:58 PM
    i have this on my script.

  3. codebreaker911's Avatar
    • My Statistics
    #3
    16th Mar 2017, 12:03 PM
    Getting this error. I am not a php guy, any idea how to fix this?

  4. lion_boy877's Avatar
    • My Website(s)
      ultramovie.me pandamovie.net watchpornx.com streamporn.net playpornx.net losporn.com
    • My Statistics
    #4
    16th Mar 2017, 12:07 PM
    i want that thing to implement in my wordpress site but i am noob

  5. aff.i.am's Avatar
    • My Statistics
    #5
    16th Mar 2017, 12:54 PM
    Quote Originally Posted by lion_boy877 View Post
    i want that thing to implement in my wordpress site but i am noob
    Pm me I can help you out for a small fee

Similar Threads

  1. 1channel aka primewire.ag domain hacked again by vodly
    By Suhel in forum News & Current Events - Archive
    Replies: 2
    Last Post: 16th Aug 2013, 10:11 AM
  2. Putlocker video links extractor
    By lib3rty1 in forum Development Area - Archive
    Replies: 2
    Last Post: 15th Mar 2013, 11:29 AM
  3. [Hiring] Indivisual/Custom Links Extractor
    By hdchina in forum Completed Transactions
    Replies: 0
    Last Post: 7th Sep 2012, 12:39 AM
  4. Wanto make php links clickable - HELP NEEDED PLEASE
    By BlackJACK in forum Webmaster Discussion - Archive
    Replies: 6
    Last Post: 15th May 2011, 10:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •