Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@xslendix
Created August 6, 2021 00:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xslendix/543c48f615592fd19c61dfad3f4831fd to your computer and use it in GitHub Desktop.
Save xslendix/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.
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