Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vishalrashmika/pyanimeplanet
A python module to extract information from anime-planet website (no login required)
https://github.com/vishalrashmika/pyanimeplanet
anime anime-planet animeplanet beautifulsoup4 pyanimeplanet python selenium-webdriver webscrapper
Last synced: 3 months ago
JSON representation
A python module to extract information from anime-planet website (no login required)
- Host: GitHub
- URL: https://github.com/vishalrashmika/pyanimeplanet
- Owner: VishalRashmika
- License: gpl-3.0
- Created: 2024-08-19T05:12:24.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-21T12:57:40.000Z (4 months ago)
- Last Synced: 2024-09-27T14:40:39.102Z (3 months ago)
- Topics: anime, anime-planet, animeplanet, beautifulsoup4, pyanimeplanet, python, selenium-webdriver, webscrapper
- Language: Python
- Homepage: https://pypi.org/project/pyanimeplanet/
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyanimeplanet
A package that allows to extract information from anime planet website without login. This module uses the selenium web driver to scrap details from the web.# Usage
1. setup the username first
```python
import pyanimeplanet as animeanime.set_username("AkiraArashikage")
```
2. request informationavailable functions:
- anime_stats() => returns the overall information listed in profile
- watched_list => returns the watched anime list
- watching_list => returns the watching anime list
- want_to_watch_list => returns the want to watch anime list
- stalled_list => returns the stalled anime list
- dropped_list => returns the dropped anime list
- wont_watch_list => returns the won't watch anime list
- full_info => returns the all information (stats, watched, watching, want to watch, stalled, dropped, won't watch and dropped)### example
1. program
```python
import pyanimeplanet as animeanime.set_username("AkiraArashikage")
print(anime.watching_list())
```2. output
```json
{'Anime': [{'title': 'A Journey Through Another World: Raising Kids While Adventuring', 'rating': 3.0, 'episodes': 8, 'watched episodes': 8}, {'title': 'Alya Sometimes Hides Her Feelings in Russian', 'rating': 3.0, 'episodes': 7, 'watched episodes': 7}, {'title': 'Bartender Glass of God', 'rating': 3.0, 'episodes': 12, 'watched episodes': 1}, {'title': 'Bleach', 'rating': 4.0, 'episodes': 366, 'watched episodes': 3}, {'title': 'Days with My Stepsister', 'rating': 3.0, 'episodes': 7, 'watched episodes': 3}]}
```