pytube icon indicating copy to clipboard operation
pytube copied to clipboard

[ BUG ] Cant get videos from channel

Open Godwhitelight opened this issue 1 year ago • 4 comments

It seems like something broke in the channel video scraping.

channel = Channel('https://www.youtube.com/channel/UCvLswWFz2WGhdJ9cBftmhcA')
print(channel.channel_name, channel.channel_id)
for i in channel.videos:
    print(i)

this prints only the first print. It does not find any videos. But the channel has videos 100%

Godwhitelight avatar Apr 20 '23 14:04 Godwhitelight

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

github-actions[bot] avatar Apr 20 '23 14:04 github-actions[bot]

same error here

TymoteuszChatys avatar Apr 22 '23 15:04 TymoteuszChatys

Same error, tried every possible combination of link, prefix, suffix, cid, name, ...

borgnetzwerk avatar Apr 22 '23 20:04 borgnetzwerk

I'm assuming something changed on the YouTube side of things and we'll need to wait for an update to fix it.

Nothing has changed in my code, and I'm using the same version of PyTube that's always worked, but while I'm able to retrieve channel information, the class instance has nothing in the .video attribute.

CyberGrim avatar May 01 '23 16:05 CyberGrim

ive found their fix and i fixed it for myself ill send later

Godwhitelight avatar May 09 '23 20:05 Godwhitelight