Activity Stream
48,167 MEMBERS
6998 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1.     
    #1
    Member

    Thumbs up [Unfinished ] Link grabber ,Downloader , etc

    Hey guys,
    this is an unfinished project , because of lack of time..
    thought of sharing it , as others can modify and update it..


    PHP Code: 
    #!/bin/bash   
    ## desiboy
    ## sat_cse28 ( download hf links using wget )
    ## http://www.gnu.org/licenses/gpl-2.0.html


    function quit {
    exit
    }


    function 
    crawlnclean {
    echo 
    Grabbing the Hotfile Links
    curl curl 
    --silent $1.lx
    cat 1.lx 
    grep '[hH][tT][tT][pP]:\/\/[hH][oO][tT][fF][iI][lL][eE]\.com' 2.lx
    sed 
    -'s/<[^>]*>//g' 2.lx 3.lx
    sed 
    -'s/overflow: auto">//g' 3.lx 4.lx
    sed 
    -'s/^[ \t]*//' 4.lx 5.lx
    sed 
    -'s/iMDB | NFO | Samples 1 2 3 4 | Video Sample //' 5.lx 6.lx
    sed 
    -'s/Code: Select All | Check this link//' 6.lx 7.lx 
    sed 
    -'/^[ \t]*$/d' 7.lx links.txt
    rm 
    *.lx
    echo Grabbed Links from $
    }

    ## Download Hotfile links using  wget by sat_cse28 from KWWHunction

    function hfget {
    wget --save-cookies cookie --post-data "returnto=%2F&user=yourusername&pass=yourpass&=Login" -http://www.hotfile.com/login.php > /dev/null
    echo Downloading the hotfile links
    wget 
    ---load-cookies cookie -i links.txt

    }

    echo 
    Pleaseenter the URL to be leeched 
    read targeturl
    crawlnclean $targeturl
    hfget
    quit 
    so this when executed will ask you to input the link of the forum post/ blog post etc, and it grabs the download links and downloads them ..
    any one is free to alter it further ..
    users with lil knowledge of the shell can easily do some nice additions




    Hint : http://www.besthostingforums.com/showthread.php?t=32893
    http://www.besthostingforums.com/showthread.php?t=35148

    sorry for typo in thread title ..
    desiboy Reviewed by desiboy on . [Unninished ] Link grabber ,Downloader , etc Hey guys, this is an unfinished project :( , because of lack of time.. thought of sharing it , as others can modify and update it.. <3 #!/bin/bash ## desiboy ## sat_cse28 ( download hf links using wget ) ## http://www.gnu.org/licenses/gpl-2.0.html Rating: 5
    Coding Horror Fan
    I don't read PM's frequently .

  2.   Sponsored Links

  3.     
    #2
    Member
    shell scripting is awesome and one of the main reasons why I prefer linux over anyother. You can do so much. This is a good start btw and ill give it a test when I switch comps.

    Reg Expressions are annoying but good job
    Please follow signature rules

  4.     
    #3
    Member
    Website's:
    sborg.us
    I've never done shell scripting not on linux actually lol

    but i think the script can be taken up by a few linux-based-people. Regex seem to be easier in shell scripting than php lol

  5.     
    #4
    Member
    Quote Originally Posted by DeLeTeD View Post
    shell scripting is awesome and one of the main reasons why I prefer linux over anyother. You can do so much. This is a good start btw and ill give it a test when I switch comps.

    Reg Expressions are annoying but good job
    same here
    once we lern regex, we can do many things

    Quote Originally Posted by V3g3t4 View Post
    I've never done shell scripting not on linux actually lol

    but i think the script can be taken up by a few linux-based-people. Regex seem to be easier in shell scripting than php lol
    I hope some will fork this, btw I will add some code daily to this and will try to update..
    Coding Horror Fan
    I don't read PM's frequently .

  6.     
    #5
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com
    first thing i spotted was the fact that you have wriiten a 4 char function to execute a 4 char funtion lol.

    Why would you write
    PHP Code: 
    function quit{
    exit

    so you can call quit instead of exit.... puzzled :/
    Join Litewarez.net today and become apart of the community.
    Unique | Clean | Advanced (All with you in mind)
    Downloads | Webmasters


    Notifications,Forum,Chat,Community all at Litewarez Webmasters


  7.     
    #6
    Member
    Quote Originally Posted by litewarez View Post
    first thing i spotted was the fact that you have wriiten a 4 char function to execute a 4 char funtion lol.

    Why would you write
    PHP Code: 
    function quit{
    exit

    so you can call quit instead of exit.... puzzled :/

    to show the usage of functions in bash

    I can just modify the function for more operations in future ..
    example:
    I will add
    sleep 10


    function quit{
    sleep 10
    exit
    }


    which will make the script to pause for 10 seconds before it exits ..
    Coding Horror Fan
    I don't read PM's frequently .

  8.     
    #7
    Member
    added the code which can download files from HF , by used sat_cse28.

    Now this can leech a thread/post with hf links and can download the files..
    next update may be extracting the files and repacking ..

    Coding Horror Fan
    I don't read PM's frequently .

  9.     
    #8
    Member
    Website's:
    UsersTracking.com WhatIsNanoSim.com TVShowsBB.com WhatIsSurfaceTablet.com WhatIsLoan.net
    But please add megashares, megaupload Support,
    As HotFile locked to most of the VPS's.

    Regards.
    Nano Sim Cutter | TVShowsBB.com | UsersTracking.com - Online Visitor Counter
    WhatIsSurfaceTablet.com | What Is Loan

  10.     
    #9
    Member
    Website's:
    warezxtc.com
    Quote Originally Posted by desiboy View Post
    added the code which can download files from HF , by used sat_cse28.

    Now this can leech a thread/post with hf links and can download the files..
    next update may be extracting the files and repacking ..

    Wooooo, you downloaded the file from WarezBlog.org!

  11.     
    #10
    Member
    Quote Originally Posted by CyberJ37 View Post
    Wooooo, you downloaded the file from WarezBlog.org!
    Better than that hes using the Faenza icon set
    Signature too big, removed by staff.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Premium (direct link) downloader For Vpn
    By afsoongar_ghadiri in forum Web Development Area
    Replies: 1
    Last Post: 31st Aug 2012, 10:17 PM
  2. WBB Search result Parser/Sorter/Link Grabber/Output Creator
    By cvrle77 in forum Webmaster Resources
    Replies: 10
    Last Post: 17th Jul 2012, 08:43 PM
  3. [PHP] Filesonic Premium Link Generator/Downloader
    By Lifetalk in forum Web Development Area
    Replies: 12
    Last Post: 6th Feb 2012, 10:35 AM
  4. any php script like facebook Or Digg share,link grabber?
    By hihotfile in forum Webmaster Discussion
    Replies: 1
    Last Post: 26th Feb 2011, 04:19 PM
  5. Replies: 0
    Last Post: 17th Aug 2009, 06:57 AM

Tags for this Thread

BE SOCIAL