Channels showing empty list, when trying to get video list
See original GitHub issueDescribe the bug Around month ago I wrote script with pytube, that downloaded videos from some channels, but today when I tried to launch it, it showed me empty list of videos for every channel. When accessing video or playlists via url, everything works fine, but when I’m trying to work with channels I get this empty list. I’m sure this worked at least month ago.
I checked on debian, ubuntu and windows 10 - everywhere this same.
To Reproduce
from pytube import Channel
c = Channel("https://www.youtube.com/user/PewDiePie")
print(c.channel_name)
print(c.videos)
Expected behavior This should print videos from PewDiePies channel, but sadly it always empty list (at least for every channel that I checked).
Output
PewDiePie
[]
System information
- System:
Debian 11 5.10.0-18-amd64
- Python version:
Python 3.9.2
- Pytube version:
12.1.0
- Command used to install pytube:
python -m pip install git+https://github.com/pytube/pytube
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:14
Top Results From Across the Web
An empty list is returned on request to /youtube/v3/channels ...
It looks like a YouTube Data API v3 backend bug. You may be interested in reporting your issue through Google issue tracker. –...
Read more >Empty list of channel icons in STREAMING CHANNELS
I have SW 11.0.0, build 4193 When in Guest mode, selecting Streaming Channels/ Channel Store shows the category list, but no icons appear...
Read more >How to Fix Kodi Empty List that Says Watched or ... - YouTube
If you have an issue where your Kodi library or Kodi add-ons show an empty listing screen when there should be movies or...
Read more >[Issue] Liked list from Trakt showing up as Empty List ... - GitHub
By liking a list in Trakt, it normally shows up in "My List", but by clicking on it, it shows an empty list....
Read more >How to Fix Kodi Empty List that Says Watched or Unwatched ...
Have the issue where your Kodi library or Kodi add-ons show an empty screen when there should be movies or TV shows? Here...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can also confirm that fix in https://github.com/pytube/pytube/pull/1409 works.
I too can confirm that #1409 works Until its merged, can be used like this in case it helps anyone:
pip install git+https://github.com/pishiko/pytube.git@42a7d8322dd7749a9e950baf6860d115bbeaedfc