HanimeTV/example.py

21 lines
423 B
Python
Raw Normal View History

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