Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justdvnsh/animescraper
Ultimate Anime Scraper API
https://github.com/justdvnsh/animescraper
Last synced: 20 days ago
JSON representation
Ultimate Anime Scraper API
- Host: GitHub
- URL: https://github.com/justdvnsh/animescraper
- Owner: justdvnsh
- Created: 2021-03-12T04:16:36.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-17T13:10:17.000Z (almost 4 years ago)
- Last Synced: 2023-03-03T06:14:35.836Z (almost 2 years ago)
- Language: Python
- Size: 29.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Anime Scraper
An api for scraping anime websites.# Installation Instructions:
1) git clone https://github.com/ArjixGamer/AnimeScraper-1
2) cd AnimeScraper-1
3) python -m pip install -r requirements.txt
* If python 3 is set as python3 instead of python in your system then use that instead
4) python app.py# Usage:
## Warning!
Make sure to urlencode any kind of data you pass to the api.### 1) Get Available Providers
* Endpoint: ``apiUrl/get_providers``
* Method: GETResponse
```json
{
"message":"ok",
"data":[
"4anime",
"animefreak"
]
}
```### 2) Search
* Endpoint: ``apiUrl/search/?provider=``
* Method: GETResponse
```json
{
"message":"ok",
"data":[
{
"link":"https://www.animefreak.tv/watch/overlord-ple-ple-pleiades-ova",
"title":"Overlord: Ple Ple Pleiades (OVA)",
"poster":""
},
{
"link":"https://www.animefreak.tv/watch/overlord-iii",
"title":"Overlord III",
"poster":""
},
{
"link":"https://www.animefreak.tv/watch/overlord",
"title":"Overlord",
"poster":""
}
]
}
```### 3) List-Episodes
* Endpoint: ``apiUrl/load_episodes?link=&provider=``
* Method: GETResponse
```json
{
"message":"ok",
"data":[
{
"link":"https://www.animefreak.tv/watch/world-witches-hasshin-shimasu/episode/episode-1",
"ep_no":1
},
{
"link":"https://www.animefreak.tv/watch/world-witches-hasshin-shimasu/episode/episode-2",
"ep_no":2
},
{
"link":"https://www.animefreak.tv/watch/world-witches-hasshin-shimasu/episode/episode-3",
"ep_no":3
}
]
}
```### 4) Extract Episode
* Endpoint: ``apiUrl/load_episode?provider=&link=&parent=``
* Method: GETResponse
```json
{
"message":"ok",
"data":{
"link":"link to mp4",
"headers":{
"referer":"referer link"
}
}
}
```## Note:
Before installing make sure git is installed on your machine.