Skip to main content

A simple web scraper to get information about anime from Gogoanime

Project description

gogo_scrapper

A simple python goganime scraper

Installation


install gogo_scraper using pip install gogo_scraper


Usage



import gogo_scraper as gogo # import module


Gets list of Gogoanime search results for the query "naruto"

search = gogo.search("naruto")


Get link to naruto episode 10

Here, "naruto" is the exact anime title/link in Gogoanime. Other anime might have complicated titles, so first use gogo.search() to get exact title

link = gogo.getEpisode("naruto", 10)




Get latest episode from naruto

Returns a dictionary {ep_num: 220, link: ...}

latest_episode = gogo.getLatestEpisode("naruto")




All these functions also take an optional base_url parameter, which could be used to scrap from a different Gogoanime server.

Users could also directly change gogo.BASE_URL to globally change the server being used

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gogo_scraper-1.0.5.tar.gz (3.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page