Created
August 6, 2021 00:18
-
-
Save slendidev/543c48f615592fd19c61dfad3f4831fd to your computer and use it in GitHub Desktop.
Hentai downloader python script. Originally made to fill Geometry Dash's servers. The script that fills the servers will not be released for obvious reasons.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nekos as n | |
import random as r | |
import requests as req | |
import sys | |
total = int(sys.argv[1]) | |
def download(index, url, tag): | |
print(f'[{index}/{total}] Downloading {tag}') | |
r = req.get(url) | |
filename = url.split('/')[-1] | |
with open(filename,'wb') as output_file: | |
output_file.write(r.content) | |
print('Done!') | |
pos = ['feet', 'yuri', 'cum', 'hentai', 'tits', 'hololewd', 'random_hentai_gif'] | |
for i in range(total): | |
ra = r.choice(pos) | |
try: | |
download(i+1, n.img(ra), ra) | |
except: | |
pass | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment