pytube / pytube

A lightweight, dependency-free Python library (and command-line utility) for downloading YouTube Videos.
https://pytube.io
The Unlicense
12.22k stars 2.52k forks source link

Compatibility with new Youtube URL handlers (youtube.com/NICECHANNEL) #1425

Open NannoSilver opened 1 year ago

NannoSilver commented 1 year ago

Weeks ago Youtube released a new type of URL handler that allows a shorter URL.

Here are some examples of new URL handlers: https://youtube.com/@TrinityVaastu https://www.youtube.com/xenutv

At Pytube 12.1.0, if I use the following code, it is NOT capable to work with the handler:

c = Channel('https://www.youtube.com/xenutv')
youtube_channel_name = c.channel_name

I would like to suggest to make Pytube compatible with the new URL handlers.

outmane02 commented 1 year ago

I came here to report the same bug, I thought I did something wrong but after testing I found that it was a compatibility issue with the new URLs.

alexanderfrey commented 1 year ago

Same here.

tahirahmed22 commented 1 year ago

same here.

ZeyadMoustafaKamal commented 1 year ago

please fix this.

AbdulazizAlshamsi commented 1 year ago

please fix

cyrillus31 commented 1 year ago

please fix

Checkout pishiko/pytube@fix-channel He fixed it

Mister-42 commented 1 year ago

And there is #1444