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

[BUG] "Unexpected renderer encountered." #1915

Open
IGaming73 opened this issue Apr 29, 2024 · 1 comment
Open

[BUG] "Unexpected renderer encountered." #1915

IGaming73 opened this issue Apr 29, 2024 · 1 comment
Labels

Comments

@IGaming73
Copy link

IGaming73 commented Apr 29, 2024

When I try to load a video, it works, but returns this message :

Unexpected renderer encountered.
Renderer name: dict_keys(['adSlotRenderer'])
Search term: video test
Please open an issue at https://github.com/pytube/pytube/issues and provide this log output.
Unexpected renderer encountered.
Renderer name: dict_keys(['adSlotRenderer'])
Search term: video test
Please open an issue at https://github.com/pytube/pytube/issues and provide this log output.
Unexpected renderer encountered.
Renderer name: dict_keys(['reelShelfRenderer'])
Search term: video test
Please open an issue at https://github.com/pytube/pytube/issues and provide this log output.
Unexpected renderer encountered.
Renderer name: dict_keys(['reelShelfRenderer'])
Search term: video test
Please open an issue at https://github.com/pytube/pytube/issues and provide this log output.

I'm on Python 3.12.3, using pytube 15.0.0, and it does that for every video, not just a specific one.
My code :

import pytube
search = pytube.Search("video test")
result = search.results[0]
url=result.watch_url
video = pytube.YouTube(url)
stream = video.streams.get_highest_resolution()
stream.download()

@IGaming73 IGaming73 added the bug label Apr 29, 2024
Copy link

Thank you for contributing to PyTube. Please remember to reference Contributing.md

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

No branches or pull requests

1 participant