http://indianrockmp3.com/2009/02/20/download-zero-discography/ so i get on the page and see that the songs are download-able separately and i didnt want to do the clicking, so i worked it out on the shell
[root@avini rmenn]# curl http://indianrockmp3.com/2009/02/20/download-zero-discography/ > page.html % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 52026 0 52026 0 0 27050 0 --:--:-- 0:00:01 --:--:-- 43788 [root@avini rmenn]# cat page.html | grep "http://freedownloads.last.fm/download/" | tr -s '"' '@' | cut -d "@" -f2 http://freedownloads.last.fm/download/22943931/Not%2BMy%2BKind%2BOf%2BGirl.mp3 http://freedownloads.last.fm/download/45155636/Found.mp3 http://freedownloads.last.fm/download/50932531/Mama%2527s%2BCalling.mp3 http://freedownloads.last.fm/download/45150947/Dear%2BJesus.mp3 http://freedownloads.last.fm/download/1914501/Lucy.mp3 http://freedownloads.last.fm/download/1914500/Christmas%2BIn%2BJuly.mp3 http://freedownloads.last.fm/download/45163587/All%2BI%2BLost.mp3 http://freedownloads.last.fm/download/44371852/Her.mp3 http://freedownloads.last.fm/download/57651638/Old%2BMan.mp3 http://freedownloads.last.fm/download/15504086/Lost.mp3 http://freedownloads.last.fm/download/56410885/Down%2B%2526%2BOut.mp3 http://freedownloads.last.fm/download/56396125/Not%2BYet.mp3 http://freedownloads.last.fm/download/18028719/Not%2BMy%2BKind%2BOf%2BGirl%2B%2528Reprise%2529.mp3 http://freedownloads.last.fm/download/22943931/Not%2BMy%2BKind%2BOf%2BGirl.mp3 http://freedownloads.last.fm/download/15504086/Lost.mp3 http://freedownloads.last.fm/download/1914514/Spitleaf.mp3 http://freedownloads.last.fm/download/26687526/PSP%2B12%2522.mp3 http://freedownloads.last.fm/download/1914500/Christmas%2BIn%2BJuly.mp3 http://freedownloads.last.fm/download/1914501/Lucy.mp3 http://freedownloads.last.fm/download/19935095/Lijo.mp3 http://freedownloads.last.fm/download/18028719/Not%2BMy%2BKind%2BOf%2BGirl%2B%2528Reprise%2529.mp3 http://freedownloads.last.fm/download/26687526/PSP%2B12%2522.mp3 http://freedownloads.last.fm/download/44079908/Cry.mp3 http://freedownloads.last.fm/download/44659033/Old%2BMan%2BSitting%2BOn%2BThe%2BBack%2BPorch.mp3 http://freedownloads.last.fm/download/43775867/I%2BAin%2527t%2BSatisfied.mp3 http://freedownloads.last.fm/download/43776208/Ayaya.mp3 http://freedownloads.last.fm/download/38303140/Mariachi.mp3 http://freedownloads.last.fm/download/43794729/The%2BEveryday%2BLove%2BSong.mp3 http://freedownloads.last.fm/download/44371533/Hate%2BIn%2BE%2BMinor.mp3 http://freedownloads.last.fm/download/44371852/Her.mp3 http://freedownloads.last.fm/download/44372144/Stop.mp3 http://freedownloads.last.fm/download/44659049/Lullabye.mp3 http://freedownloads.last.fm/download/44372643/No%2BMore%2BMistook.mp3 [root@avini rmenn]# cat page.html | grep "http://freedownloads.last.fm/download/" | tr -s '"' '@' | cut -d "@" -f2 > links.txt [root@audience rahul]# wget -r -i links.txt --01:29:16-- http://freedownloads.last.fm/download/22943931/Not%2BMy%2BKind%2BOf%2BGirl.mp3 => `freedownloads.last.fm/download/22943931/Not+My+Kind+Of+Girl.mp3' Resolving freedownloads.last.fm... 195.24.232.203 Connecting to freedownloads.last.fm|195.24.232.203|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3,900,813 (3.7M) [audio/mpeg] 100%[===================================>] 3,900,813 245.94K/s ETA 00:00 . . . . [snip] . . . . --01:36:59-- http://freedownloads.last.fm/download/44372643/No%2BMore%2BMistook.mp3 => `freedownloads.last.fm/download/44372643/No+More+Mistook.mp3' Connecting to freedownloads.last.fm|195.24.232.203|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2,289,580 (2.2M) [audio/mpeg] 100%[===================================>] 2,289,580 116.90K/s ETA 00:00 01:37:14 (151.68 KB/s) - `freedownloads.last.fm/download/44372643/No+More+Mistook.mp3' saved [2289580/2289580] FINISHED --01:37:14-- Downloaded: 90,369,872 bytes in 23 files
I ran the wget and walked out came back in like 15 minutes and it was done. So :D
No comments:
Post a Comment