New Topic
Page 1 of 2 12
Results 1 to 10 of 12

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
        
    echo'<form method="post" action="">URL <input type="text" name="site_url" > <input type="submit" value="GET"/></form><br/><br/>';
        if(!empty(
    $_POST) && filter_var($_POST['site_url'], FILTER_VALIDATE_URL) == true)
            {
            
    $content file_get_contents(trim($_POST['site_url']));
            if(
    preg_match('/tt([0-9]{5,10})/'$content$m) && preg_match('/title="Watch (.*) online">/'$content$t))
                {
                echo 
    $t[1]."<br/>";
                echo  
    "http://www.imdb.com/title/tt".$m[1]."/<br/><br/>";
                
    $dom = new DOMDocument();
                
    $internalErrors libxml_use_internal_errors(true);
                
    $dom->loadHTML($content);
                
    $divs $dom->getElementsByTagName("span");

                
    // Add words here that are contained in URLs you dont want shown
                
    $ignore = array("qertewrt","amazonaw","1172934");

                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 (
    strlen(str_replace($ignore''$ff)) == strlen($ff))
                        echo 
    '<a href="'.$ff.'" target="_blank">'.$ff.'</a><br/>';
                        }
                    }
                }
            }
    ?>
    Last edited by Gavo; 3rd Jun 2017 at 05:56 PM. Reason: Updated to return title

  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
    aff.i.am is offline Banned
    • 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

  6. p.team's Avatar
    • My Website(s)
      putlockertime.co
    • My Statistics
    #6
    7th May 2017, 09:15 PM
    Nice and clean code.

    You can add also this domain for remove advertisements:

    Code:
    9c40a04e9732e6a6.com
    Right now around 5,5k movies uses this link for ads.

    Regards,
    p.team

  7. Gavo's Avatar
    • My Website(s)
      DirtyWarez.org Forum.DirtyWarez.com
    • My Statistics
    #7
    7th May 2017, 10:20 PM
    Thanks, I added new advertisement url, I will stick them in a array tomorrow & update again

  8. p.team's Avatar
    • My Website(s)
      putlockertime.co
    • My Statistics
    #8
    9th May 2017, 05:51 PM
    Hey Gavo,

    sounds good.

    We've also a list of all dead hosts that still exist in primewire, please let us know if you're interested for improve your script.

    Regards,
    p.team

  9. Gavo's Avatar
    • My Website(s)
      DirtyWarez.org Forum.DirtyWarez.com
    • My Statistics
    #9
    9th May 2017, 06:42 PM
    I updated it, anyone using it can now add block words

  10. p.team's Avatar
    • My Website(s)
      putlockertime.co
    • My Statistics
    #10
    11th May 2017, 01:17 PM
    Good update Gavo,

    with this array is very easy to exclude unwanted hosts and any other future ads.

    We'll provide here a complete hosts exclusion that contain: scam domains, dead domains, domains that have less that 5k daily views. Most of this domains are still present in many primewire links.

    Code:
    $ignore = array("qertewrt","amazonaw","1172934","filenuke","promptfile","briskfile","sharesix","vid.ag","movdivx.com","divxme.com","wholecloud.net","zalaa.com","wholecloud.net","zalaa.com","vidlockers.ag","uploadc.com","tubemotion.com","promptfile.com","hulu.com","briskfile.com","56.com","vodlocker.com","vidspot.net","vidbull.com","thefile.me","stagevu.com","sharesix.com","sharerepo.com","realvid.net","noslocker.com","playedto.me","neodrive.co","bestreams.net","gorillavid.com","tudou.com","movie4all.co");
    Regards,
    p.team

Page 1 of 2 12

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
  •