A simple hanime.tv scraper that scrapes release information using BeautifulSoup4.
Run the pip install -r requirements.txt
to install all the necessary dependencies
The code below imports hanime.py
and uses the info
function to print out a dictionary.
import hanime
print(hanime.info("https://hanime.tv/videos/hentai/lovely-heart-2"))
{
'brand': 'Mary Jane'
'branduploads': '118'
'releasedate': 'February 6, 2020',
'uploaddate': 'February 11, 2020',
'views': '3,669,440 views',
'censored': True,
'alternatetitles': ['Lovely Heart', 'らぶりー♡', '러블리 하트', 'Lovely', 'Lovely ♡', 'Lovely Heart']
}