Compatibility with new Youtube URL handlers (youtube.com/NICECHANNEL)
Author: NannoSilverCreated Nov 24, 2022Updated Mar 26, 2026
Labelsenhancement
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_nameI would like to suggest to make Pytube compatible with the new URL handlers.
Source: pytube/pytube