Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 870 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 870 Bytes

HiScraper

This is a Python-based web scraper deployed on Vercel. It scrapes data from a hianime.to's a-z list , parses the HTML, and returns the data as JSON.

API Endpoints

  • GET /api/list: Base endpoint
  • GET /api/list?letter={letter}&page={page}: Scrapes data for the given letter and page.

Example

  • Request: /api/list?letter=k&page=1
  • Response:
    {
       "data": [
      {
        "duration": "52m",
        "id": "kite-16204",
        "name": "Kite",
        "poster": "https://cdn.noitatnemucod.net/thumbnail/300x400/100/746d993e054e200c4e3148dd90df225c.jpg",
        "title": "Kite",
        "type": "OVA",
        "url": "/watch/kite-16204"
        }
      ]
    }

Disclaimer !!!!

This project is just a practise , it is not in anyway affiliated with hianime or any anime studios . I made this project to practise python .