Closed ErogeMaster225 closed 4 years ago
youtube changed something, and deactivated the default API key.
you can set your own API key like this: https://github.com/mps-youtube/mps-youtube/wiki/Troubleshooting#youtube-error-403-the-request-cannot-be-completed-because-you-have-exceeded-your-quota
The key exceeding the quota is fairly common at this point, is this still the case or is the key permanently disabled now?
Since i can't start mpsyt the set api_key command doesn't seem to work. When i try to change the api key in the config.py file in python's site-packages folder i got the same 403 error, then i try to change the key in the config folder which is appdata/roaming on Windows i get this error
File "c:\users\sakurafrost225.oprekin-pc\appdata\local\programs\python\python38\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\sakurafrost225.oprekin-pc\appdata\local\programs\python\python38\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\SakuraFrost225.OPREKIN-PC\AppData\Local\Programs\Python\Python38\Scripts\mpsyt.exe\__main__.py", line 4, in <module>
File "c:\users\sakurafrost225.oprekin-pc\appdata\local\programs\python\python38\lib\site-packages\mps_youtube\__init__.py", line 8, in <module>
init.init()
File "c:\users\sakurafrost225.oprekin-pc\appdata\local\programs\python\python38\lib\site-packages\mps_youtube\init.py", line 55, in init
config.load()
File "c:\users\sakurafrost225.oprekin-pc\appdata\local\programs\python\python38\lib\site-packages\mps_youtube\config.py", line 362, in load
saved_config = pickle.load(cf)
_pickle.UnpicklingError: pickle data was truncated
So turn out this program use the api store in pafy's config not mpsyt this is kinda weird. Anyway, thanks everyone for helping me
the link i gave you, was explaining how to fix the problem by deleting the cache.... -_-
it seams that the default key is inactive for now...
We need to replace it and drop a new version of the software sooner rather than later. Though the owner of the repos are not active very often.
Also if pafy ends up storing the api key, making the set api_key
not work as expected, we should probably solve that issue as well
so i just installed mps-youtube last week and everything worked just fine until today when i try to start with the "mpsyt" command i get this error message
here is my mpsyt --version