pytubefix.contrib.search.Search Bug
Closed this issue · 6 comments
CureSaba commented
Describe the bug
import pytubefix
print(pytubefix.contrib.search.Search(“負け犬にアンコールはいらない”).results)
To Reproduce
- Do pytubefix.contrib.search.Search()
- See error
Expected behavior
WARNING:pytubefix.contrib.search:Unexpected renderer encountered.
WARNING:pytubefix.contrib.search:Renderer name: dict_keys(['reelShelfRenderer'])
WARNING:pytubefix.contrib.search:Search term: 負け犬にアンコールはいらない
WARNING:pytubefix.contrib.search:Please open an issue at https://github.com/pytube/pytube/issues and provide this log output.
WARNING:pytubefix.contrib.search:Unexpected renderer encountered.
WARNING:pytubefix.contrib.search:Renderer name: dict_keys(['reelShelfRenderer'])
WARNING:pytubefix.contrib.search:Search term: 負け犬にアンコールはいらない
WARNING:pytubefix.contrib.search:Please open an issue at https://github.com/pytube/pytube/issues and provide this log output.
[<pytubefix.__main__.YouTube object: videoId=gCu7C4aIfmU>, <pytubefix.__main__.YouTube object: videoId=kd_vuUwDh1U>, <pytubefix.__main__.YouTube object: videoId=Ckk9IJwDhNI>, <pytubefix.__main__.YouTube object: videoId=4725X3TpznE>, <pytubefix.__main__.YouTube object: videoId=eHwMcS6CPk0>, <pytubefix.__main__.YouTube object: videoId=NbTjI27ci94>, <pytubefix.__main__.YouTube object: videoId=ALEMhZseyqo>, <pytubefix.__main__.YouTube object: videoId=4IdUBA5mK3g>, <pytubefix.__main__.YouTube object: videoId=9KTFWY5P6Gc>, <pytubefix.__main__.YouTube object: videoId=KXsH2ywyH9Y>, <pytubefix.__main__.YouTube object: videoId=7V1vkqtN7-g>, <pytubefix.__main__.YouTube object: videoId=rd3bmp-3uG0>, <pytubefix.__main__.YouTube object: videoId=2Z3pxUVnyx8>, <pytubefix.__main__.YouTube object: videoId=74QYpYQCW0M>, <pytubefix.__main__.YouTube object: videoId=vdwa6due-CU>, <pytubefix.__main__.YouTube object: videoId=-VKIqrvVOpo>, <pytubefix.__main__.YouTube object: videoId=SIrh-q9u_bE>, <pytubefix.__main__.YouTube object: videoId=AkrP0MSSzUs>]
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Ubuntu 22.04.3 LTS(Colaboratory)
- Browser None
- Version Python 3.10.12
Additional context
Add any other context about the problem here.
JuanBindez commented
It seems to be due to an unallowed character
CureSaba commented
from pytubefix import Search
s = Search('YouTube Rewind')
len(s.results)
Unexpected renderer encountered.
Renderer name: dict_keys(['reelShelfRenderer'])
Search term: YouTube Rewind
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: YouTube Rewind
Please open an issue at https://github.com/pytube/pytube/issues and provide this log output.
An error occurs in the sample
JuanBindez commented
I haven't started testing yet but apparently it seems to be something related to InnerTube
JuanBindez commented
If anyone finds out before help us here
JuanBindez commented
try pytubefix==2.2rc2