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.6.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file gogo_scraper-1.0.6.tar.gz.

File metadata

  • Download URL: gogo_scraper-1.0.6.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for gogo_scraper-1.0.6.tar.gz
Algorithm Hash digest
SHA256 3846fe0876835423691abf39e2fe8c37826d55d4fd073ee4dd532a9fe82d1238
MD5 b5818308dee534c5e81381cc1712a2cb
BLAKE2b-256 6ebba2909da571c427d89d0a10d9315eb3e6f5a1fe0191d87ecd370312749ad9

See more details on using hashes here.

Supported by

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