Git Product home page Git Product logo

9animedev's Introduction

9AnimeDev

A 9anime.dev scrapper module for python.

Available in programming languages:

1. Python
2. Node.JS

Installation

Installing through pip for python.

pip install animedev

Installing through npm for node.js.

npm install animedev

Cloning using git.

for python:

git clone https://github.com/SastaDev/9AnimeDev/for_python

for node.js:

git clone https://github.com/SastaDev/9AnimeDev/for_node

How To Use?

The 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

Thanks to @itspro-dev for 9anime.dev. Thanks to @SastaDev for this scrapper.

© Sasta Network 2022.

9animedev's People

Contributors

sastadev avatar

Stargazers

 avatar Pranav Ajay avatar Alok avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.