question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Channels showing empty list, when trying to get video list

See original GitHub issue

Describe 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 err

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:14

github_iconTop GitHub Comments

6reactions
mrx88commented, Nov 2, 2022

I can also confirm that fix in https://github.com/pytube/pytube/pull/1409 works.

3reactions
shreyesh-newsreelscommented, Nov 4, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found