cosmicpredator / gogoanimeapi Goto Github PK
View Code? Open in Web Editor NEWAn Unofficial Python API Library to Download Dubbed and Subbed Anime for FREE...
Home Page: https://github.com/BaraniARR/gogoanimeapi
License: MIT License
An Unofficial Python API Library to Download Dubbed and Subbed Anime for FREE...
Home Page: https://github.com/BaraniARR/gogoanimeapi
License: MIT License
get_episodes_link is it working correctly now ???... It worked before 2 days... but now i cant get the output
Traceback (most recent call last):
File "C:/Users/91709/PycharmProjects/pythonProject4/main.py", line 14, in
anime_link = anime.get_episodes_link(animeid="tonikaku-kawaii-dub", episode_num=3)
File "C:\Users\91709\PycharmProjects\pythonProject4\venv\lib\site-packages\gogoanimeapi.py", line 92, in get_episodes_link
dow_url1 = soup.findAll('div', {'class': 'dowload'})[0].find('a')
Hey there, first of all I'd like to say amazing initiative, I've so far not seen a single Gogoanime API. Now for the problem, I tried to make a simple script that prints all the download links for a given anime, here is the code:
from gogoanimeapi import gogoanime as anime
for i in range(1,26):
links = anime.get_episodes_link(animeid="shingeki-no-kyojin", episode_num=i)
link = links['(HDP-mp4)']
print(f'Episode {i}: {link}\n')
This works good up to episode 16 but then it spits out this error:
Traceback (most recent call last): File "C:\Users\aashi\Desktop\DownloaderX.py", line 4, in <module> links = anime.get_episodes_link(animeid="shingeki-no-kyojin", episode_num=i) File "D:\Python\lib\site-packages\gogoanimeapi.py", line 97, in get_episodes_link dow_url6 = soup.findAll('div', {'class': 'dowload'})[5].find('a') IndexError: list index out of range
I hope you reply with something when you get free
(Sorry if this is improper, this is my first ever issue I've posted)
Edit: Last night this error appeared after Episode 2 today it's showing this error after Episode 16
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.