00:00
00:00
CSlash
Oy, i'm an anarchist!

Age 38

over there

Joined on 5/1/09

Level:
2
Exp Points:
20 / 50
Exp Rank:
> 100,000
Vote Power:
1.98 votes
Rank:
Civilian
Global Rank:
> 100,000
Blams:
0
Saves:
0
B/P Bonus:
0%
Whistle:
Normal
Medals:
23

g.e-hentai.org autodownloader

Posted by CSlash - March 14th, 2014


So i get a lot of my porn from the website g.e-hentai.org.  Free porn, and lots of it.

Anyway, so for a lot of their stuff they've got like, torrents to download the whole album.

Which is awesome cause torrents are faster, and more anonymous than direct downloading.

But some of their stuff they don't have a torrent for.  And i'm not sure if this is on purpose

or something, in which case they'll probably change their page code to make this

script obsolete, or maybe they'll give me a job... [that'd be cool]  Anyway, so here's this

script i wrote to download a whole album systematically.  Cause i figured out that mainly the

only image that has a ip adress instead of dns name in the start of its url is the main image.

Or, something...  Anyway, here's dump link:

 

http://www.newgrounds.com/dump/item/36c1891cd6b24e2d6b12ebf1fb234c99

 

Also it asks for url of first image.  This is the page where the first image is displayed. 

main_page->gal_link->first_gal_thumb->current_url_in_adress_bar

 

Also, does not work on python 3.  because as usual the python team had to fuck up a good

language by making everything work differently for no reason.  So yeah, python 2.x on this.

 

Happy fapping yall...


Comments

Also, it tends to run on after the end, so when it starts going like .jpg.1, .jpg.2, .jpg.3, etc.
just stop it there and delete all .1, .2., etc files. Working this bug out currently, will repost
fixed code when ready

Also, it downloads all files to current directory (i call such programs a "file bomb"
cause its like they exploded with the desired files. Anyway...) So make sure you
made a directory, copied the file to that directory, THEN run it, otherwise the downloaded
files might get mixed in with files in your cwd, which would just become a hot mess.
[lulz] Also i don't think i have to tell u this, but this is not a .txt file. It should be copied
into a .py file or designated python with a hashbang + chmod (in linux)