A simple web scraper to get information about anime from Gogoanime
Project description
gogo_scrapper
A simple python goganime 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.