Fakku Downloader Script
2
I whipped up a super ghetto script to download/archive doujin. May as well share it. Should work on any linux machine or on a Windows machine with Cygwin (which is how i use it).
Requirements: Simple stuff - wget, sed, grep, and zip
LOC_BASE is where the script lives
LOC_OUTPUT is where the zip files come out
LOC_QUEUE is the text file containing doujin to download
Usage: Enter the URL (with or without the /read at end) one per line in the file referenced by LOC_QUEUE. After loading the text file with links just run the script.
Inb4:
Why use bash?
Just because
Won't this break if page layout on Fakku changes?
Yeah, probably
On with the show...
http://pastebin.com/7TSVycWs
You can get Cygwin at: http://cygwin.com/install.html
When running setup use the defaults all the way up to the Select Packages screen. On the packages screen select (click the "skip" icon to select) :
All >> Archive >> zip
All >> Base >> grep
All >> Base >> sed
All >> Web >> wget
Once Cygwin is installed situate the download script somewhere. Modify downloader.sh and set LOC_BASE. Keep in mind that to access your normal drive letters in Cygwin you need to prefix with /cygdrive/driveletter so for example /cygdrive/c instead of C:\. Make sure to create the folder referenced in LOC_BASE and also the Output and Temp folders inside it. The downloadqueue.txt is just a generic text document, make it as well.
If you want to make a shortcut to run the script make a batch file with the following contents:
@echo off
C:
chdir C:\cygwin\bin
bash --login /cygdrive/c/Users/XXXXX/Desktop/FakkuDownloader/downloader.sh
If your installation location of Cygwin is different modify the cd commands. After the bash --login put in the full path of the script. Save the file as a .bat file somewhere (I put it in the same folder as the downloader). Then make a standard Windows shortcut to the batch file.
Requirements: Simple stuff - wget, sed, grep, and zip
LOC_BASE is where the script lives
LOC_OUTPUT is where the zip files come out
LOC_QUEUE is the text file containing doujin to download
Usage: Enter the URL (with or without the /read at end) one per line in the file referenced by LOC_QUEUE. After loading the text file with links just run the script.
Inb4:
Why use bash?
Just because
Won't this break if page layout on Fakku changes?
Yeah, probably
On with the show...
http://pastebin.com/7TSVycWs
You can get Cygwin at: http://cygwin.com/install.html
When running setup use the defaults all the way up to the Select Packages screen. On the packages screen select (click the "skip" icon to select) :
All >> Archive >> zip
All >> Base >> grep
All >> Base >> sed
All >> Web >> wget
Once Cygwin is installed situate the download script somewhere. Modify downloader.sh and set LOC_BASE. Keep in mind that to access your normal drive letters in Cygwin you need to prefix with /cygdrive/driveletter so for example /cygdrive/c instead of C:\. Make sure to create the folder referenced in LOC_BASE and also the Output and Temp folders inside it. The downloadqueue.txt is just a generic text document, make it as well.
If you want to make a shortcut to run the script make a batch file with the following contents:
@echo off
C:
chdir C:\cygwin\bin
bash --login /cygdrive/c/Users/XXXXX/Desktop/FakkuDownloader/downloader.sh
If your installation location of Cygwin is different modify the cd commands. After the bash --login put in the full path of the script. Save the file as a .bat file somewhere (I put it in the same folder as the downloader). Then make a standard Windows shortcut to the batch file.
0
Hey there,
while this a wonderous initiative, not all of us are as familiar as you are to the use of Cigwin (me included). Thus, could you give a more detailed, let us say walkthrough, so that many frustrating instances of trying to figure what the hell went wrong may be avoided?
Thanks a lot for this new tool of yours.
You have my rep.
while this a wonderous initiative, not all of us are as familiar as you are to the use of Cigwin (me included). Thus, could you give a more detailed, let us say walkthrough, so that many frustrating instances of trying to figure what the hell went wrong may be avoided?
Thanks a lot for this new tool of yours.
You have my rep.
0
Made a few changes to the original post, put in the instructions and added a way to run via shortcut.
0
First Thanks for the Script.
Since the script no longer worked, I fixed it and publish here my fixed version.
Fixed Version
The whole credit goes to crashmaxed anyway.
I use Linux Nativly so you have to change the LOC_BASE ;)
Since the script no longer worked, I fixed it and publish here my fixed version.
Fixed Version
The whole credit goes to crashmaxed anyway.
I use Linux Nativly so you have to change the LOC_BASE ;)