A 9anime.dev scrapper module for python.
Available in programming languages:
1. Python2. Node.JSInstalling through pip for python.
pip install animedevInstalling through npm for node.js.
npm install animedevCloning using git.
for python:
git clone https://github.com/SastaDev/9AnimeDev/for_pythonfor node.js:
git clone https://github.com/SastaDev/9AnimeDev/for_nodeThe python way: Check out examples.py inside for_python folder.
Examples.py:
from animedev import client, exceptions
def search_anime(anime_name):
try:
anime = client.search(anime_name)
text = f'''
Anime Title: {anime['AnimeTitle']}
Anime Link: {anime['AnimeLink']}
Anime Image: {anime['AnimeImg']}
Search Query: {anime['Search_Query']}
'''
print(text)
except exceptions.NotFound as e:
print(e)
return
# Searching anime.
search_anime('Doraemon') # Add your anime name instead of Doraemon.To check version of animedev.
# Printing version of animedev.
import animedev
print(animedev.__version__)The node.js way:
Check out examples.js inside for_node folder.
Examples.js
const animedev = require('animedev')
const AnimeDevClient = new animedev.client()
try {
// Searching anime.
const anime = AnimeDevClient.search('Doraemon') // enter your anime name instead of Doraemon.
console.log(anime)
} catch (err) {
console.log(err)
}To check version of animedev.
// Printing version of animedev.
const animedev = require('animedev')
console.log(animedev.version)Thanks to @itspro-dev for 9anime.dev. Thanks to @SastaDev for this scrapper.
© Sasta Network 2022.