HanimeTV/example.py

21 lines
423 B
Python
Raw Normal View History

2019-01-06 19:16:57 +07:00
from HTV import HanimeTV
2019-07-05 11:08:54 +07:00
hentai = HanimeTV(email="EMAIL", password="PASS")
2019-07-04 23:57:24 +07:00
query = "Imouto Paradise"
url = "https://hanime.tv/hentai-videos/imouto-paradise-1-ep-1"
2019-01-06 19:16:57 +07:00
# SEARCH
2019-07-04 23:57:24 +07:00
search = hentai.search(query)
2019-01-06 19:16:57 +07:00
print (search)
2019-07-04 23:57:24 +07:00
# GET INFO
info = hentai.info(url)
print (info)
# GET STORYBOARDS
storyboards = hentai.storyboards(url)
print (storyboards)
2019-07-05 11:08:54 +07:00
# GET DOWNLOAD (USING AUTH)
2019-07-04 23:57:24 +07:00
download = hentai.download(url)
print (download)