Hack Forums
[Python] Mangafox manga downloader (to PDF) - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Python] Mangafox manga downloader (to PDF) (/showthread.php?tid=4360269)



Mangafox manga downloader (to PDF) - dberube - Jul 26, 2014

I CAN SLEEP! IT'S 4:26 😭

Anyway, you know what I like to do when i can't sleep? YEAH PROGRAMMING!!! I'M ON FIIIIIRREEEEE!!!!
So because I want to easily add ebook to my ebook reader I decided to create a downloader that download manga and compile them into a PDF. GREAT RIGHT? RIGHT!?

HERE'S THE CODE: http://pastebin.com/CtXzLZu2
HERE'S AN EXAMPLE GENERATED WITH THE SCRIPT: https://mega.co.nz/#!VMJBjRqZ!cFNZRHejErhETydbT3VdRw7eUBDIcFuRiSo9bynd9pE

All you need to have is:
Python 3
Beautifulsoup
reportlab

Which is WAY MORE than what I would accept to download, so I'll probably create an EXE.
WHICH I WILL THEN POST IN THE ANIME SECTION! I'M SURE THEY WILL LIKE IT RIGHT GUYS?

All you have to do is call the python script like this:
Code
use: python script.py [manga_web_page] [List_of_chapters_to_download]
ex:  python script.py http://mangafox.me/manga/tokyo_ghoul/ [1,2,3]

ENJOY!!!!!
I wish this was my 800th post


* - Melkor333 - Jul 26, 2014

Haha seems like someone was REALLY tired xD

Very amazing Idea, I wish I had such genious Program Ideas! Thhx alot for your contributions!! 🤝


* - Only3 - Jul 27, 2014

now try to do it without external libs (k u can use reportlab)


* - dberube - Jul 27, 2014

but...but..why would I do this ლ(`◉◞౪◟◉‵ლ)


* - Only3 - Jul 27, 2014

emm to check ur regex power 😊


* - krozz - Jul 27, 2014

May I ask why you did not do this in python2?


* - dberube - Jul 27, 2014

(Jul 27, 2014 12:41 PM)krozz Wrote:  May I ask why you did not do this in python2?

Because I don't use python 2. For small scripts, the only difference between python2 and python3 is that python3 is the future.