downloadclip to steamlinks finding 404 url error #11
-
Hello I am Not very great at python and ive been learning as i go with this project, so far when ive been ready to ask a question ive been able to look at the problem and usually fumble my way to a solution or to understanding of the code. So far i am on ubuntu 21.04, laptop, everything is updated. I have installed pyenv to get the 3.8 version of python to be the default of my system
So where im running into trouble is getting the download clips function to work. everything seems to run very well as in it grabs hundreds of clips from a category stores them properly, I checked and saw no url links that would not work. When I run the code I get an error specifying that there was more than one exception. and it is relating to a url link that is bad and not reachable (404) Ive checked in many areas of the code where a url is stored and used and most of the time it is working well with no issues. here is the end snippit of the error/ traceback. when checking for any parts of the code that are causing the url to change I believe I found the section of code that is causing the url to be changed. and that is in the import of streamlink.plugin.api. http_session.py i think in particualr its the function called "request" around 100ish in the .py file of the import. (sorry im probably calling it by the wrong name) i threw a print statement in there and noticed that it changed the link a few times like the following " i question the way i set up my twitch id and hidden id is that its the api that is sending back a 404 code so maybe its my fault and my id's are what are causing the issues when generating the alternate url Has anyone seen this before, or has twitch recently updated its api do that these types of links that are generated no longer work? I have looked up other production.assets.clips and they also lead to a 404 as well. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After looking more into this the errors were pointing to streamlinks what could have happened is i messed up the code by accidentally editing it or i may have downloaded a version that is incompatible with the code. i updated it in pip ran the code and it seems to be working!!!!! |
Beta Was this translation helpful? Give feedback.
After looking more into this the errors were pointing to streamlinks what could have happened is i messed up the code by accidentally editing it or i may have downloaded a version that is incompatible with the code. i updated it in pip ran the code and it seems to be working!!!!!