Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key Error 'Runs' #9

Closed
RockoonTechnologies opened this issue Feb 14, 2021 · 3 comments
Closed

Key Error 'Runs' #9

RockoonTechnologies opened this issue Feb 14, 2021 · 3 comments

Comments

@RockoonTechnologies
Copy link

Getting an Error when running the following:

Youtube("https://youtube.com/watch?v=R2j46bHm6zw&list=RDAMVMd4HYhxlsj5k").formats.filter_by(only_audio=True).first()

File "[myPath]\env\lib\site-packages\tube_dl_main_.py", line 64, in init
self.subscribers=extraDetails[1]['videoSecondaryInfoRenderer']["owner"]["videoOwnerRenderer"]["subscriberCountText"]["runs"][0]
KeyError: 'runs'

@shekharchander
Copy link
Owner

Getting an Error when running the following:

Youtube("https://youtube.com/watch?v=R2j46bHm6zw&list=RDAMVMd4HYhxlsj5k").formats.filter_by(only_audio=True).first(.formats.filter_by(only_audio=True).first())

File "[myPath]\env\lib\site-packages\tube_dl__main__.py", line 64, in init
self.subscribers=extraDetails[1]['videoSecondaryInfoRenderer']["owner"]["videoOwnerRenderer"]["subscriberCountText"]["runs"][0]
KeyError: 'runs'

It will be fixed soon

@RockoonTechnologies
Copy link
Author

Ok cool, was curious if I was doing something wrong

@shekharchander
Copy link
Owner

Hi @RockoonTechnologies This issue was already fixed in #8. Please download the latest file from here : tube_dl-5.0.4-py3-none-any.whl. I have not updated that file in Python PIP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants