]> jfr.im git - yt-dlp.git/commitdiff
[youtube] Support shorts URL
authorpukkandan <redacted>
Sat, 5 Jun 2021 12:39:51 +0000 (18:09 +0530)
committerpukkandan <redacted>
Sat, 5 Jun 2021 19:29:04 +0000 (00:59 +0530)
Closes #375

yt_dlp/extractor/youtube.py

index 60f8df5d2418ad9f5decb2032c7a264e278613af..e2a174ae12e4a5c175d4c7b1bc99bf1be7139028 100644 (file)
@@ -67,7 +67,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
     _TFA_URL = 'https://accounts.google.com/_/signin/challenge?hl=en&TL={0}'
 
     _RESERVED_NAMES = (
-        r'channel|c|user|browse|playlist|watch|w|v|embed|e|watch_popup|'
+        r'channel|c|user|browse|playlist|watch|w|v|embed|e|watch_popup|shorts|'
         r'movies|results|shared|hashtag|trending|feed|feeds|oembed|get_video_info|'
         r'storefront|oops|index|account|reporthistory|t/terms|about|upload|signin|logout')