|
This nifty tip requires you to have a linux boxor cygwin... but Windows users don't fret I have a little something for you too... well anyway... if you download from rapidshare... wouldn't it be great if you could download from rapid share using your headless linux box and script those downloads.... those of you without a linux box check out the commands you can use with wget to download from websites, also its nice to know that you can get a copy of wget that runs in windows.. how about that... learn 1 command and use it on 2 platforms... neat... read on...
Well basically when I got this to work on my headless debian linux box... it waz fantastic.. Kudos to Mark Suillivan and Beowulf for the script and updates.. I got this tip from a gentoo forum OK lets get organised... Let me divide this article up so that we can get going If you just wanna fool around with wget skip on to item 6... For the rest of you just move on to item 1. 1. To get this going firstly you need to prepare some of this stuff... You need - sed,list_urls.sed and wget Make sure the version of wget you use is 1.10.2 and above need the --no-check-certificate option A rapidshare account with direct downloads set to on in your profile. Next get these scripts here at my website click below list_urls.sed, BashGet.sh, RapDownload.sh 2. Modify the script RapDownload.sh replace <userid> and <password> with your rapidshare userid and password. And you are good to go.... 3. Make sure you chmod +x Getbash.sh, chmod +x RapDownload.sh, chmod +x list_urls.sed 4. Now to Download any rapidshare files just type ./RapDownload.sh <urltodownload> (e.g. ./RapDownload.sh http://rapidshare.com/files/somebloatedstuff.zip) or ./RapDownload.sh <filename of list with urls to download> (e.g. ./RapDownload.sh downloadlist) 5. Ok some extra tips: You might want to use lynx -source <url of rapidshare page with links> to get the html (e.g. lynx -source http://www.rapidshare.com/XXYZ2 source.html) then list_urls.sed <name of html file you got from above> > <name of list file you want to create> (e.g. list_urls.sed source.html > downloadlist) 6. Ok here are some general commands for Wget use in windows I found useful, wget is great for downloading stuff quickly from webpages without too much messing around... Ok first you might want to get wget for windows HERE Look at wget in action, ok i know this pic is tiny but can you see.. the ascii progress bars in action.... ahhh... the devil is in the details... or should I say deteriorating eyesight.... tsk tsk.. 
a) wget -r http://www.somewebsite.com The -r command tells wget to recursively download everthing from the listed url b) wget -r -l2 http://www.somewebsite.com Now the -r does the same as above the -l tells wget to limit to that number of levels here 2 levels deep c) wget -r -A.zip -R.htm http://www.somewebsite.com This one tells wget to do a recursive get and Accept all files with .zip extension and reject all files with .htm extension d) wget -H -http://www.spanning.com Ok you might want to do a wget with a -H instead of -r if the files you want to get spanns across other websites e) wget -r ftp://username:password@site/path/to/leech You can use wget to download sites with userid and password These tips have made me a really happy leecher.. and WGET is just so powerful one tiny command can do so much. I just have to give this tip a five cool smilies!!!!!      Add as favourites (10) | Quote this article on your site | Views: 35945
Powered by AkoComment Tweaked Special Edition v.1.4.6 |