Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 724 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 724 Bytes

H-Anime Scraper

A simple hanime.tv scraper that scrapes release information using BeautifulSoup4.

Getting Started

Run the pip install -r requirements.txt to install all the necessary dependencies

Code:

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"))

Output:

{
  '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']
}