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. #1928

Open
MatiasPadilla opened this issue May 12, 2024 · 1 comment
Open

[BUG] Unexpected renderer encountered. #1928

MatiasPadilla opened this issue May 12, 2024 · 1 comment
Labels

Comments

@MatiasPadilla
Copy link

Before creating an issue

Please confirm that you are on the latest version of pytube by installing from the source.
You can do this by running python -m pip install git+https://github.com/pytube/pytube.
Sometimes, the pypi library repository is not up to date, and your issue may have been fixed already!

Describe the bug
An doing a search and it returns that error, althou it also returns the expected result

To Reproduce
Please provide the following information:

  • The code where the problem is occurring.

from pytube import Search
import re

s = Search('Slash gear')

result = []

for v in s.results:
url = v.watch_url
video_id = re.search('v=([^\&]+)', url).group(1)
result.append(video_id)

print(result)

Expected behavior
Return the list of videos from the search

Output
Unexpected renderer encountered.
Renderer name: dict_keys(['reelShelfRenderer'])
Search term: Slash gear

System information
Please provide the following information:

  • Python version (run python --version): Python 3.11.4
  • Command used to install pytube: pip install pytube
  • Also, for pytube installation, used: python -m pip install git+https://github.com/pytube/pytube
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