|
@ -2302,7 +2302,7 @@ class YoutubeSearchURLIE(YoutubePlaylistBaseInfoExtractor): |
|
|
|
|
|
|
|
|
class YoutubeShowIE(YoutubePlaylistsBaseInfoExtractor): |
|
|
class YoutubeShowIE(YoutubePlaylistsBaseInfoExtractor): |
|
|
IE_DESC = 'YouTube.com (multi-season) shows' |
|
|
IE_DESC = 'YouTube.com (multi-season) shows' |
|
|
_VALID_URL = r'https?://www\.youtube\.com/show/(?P<id>[^?#]*)' |
|
|
|
|
|
|
|
|
_VALID_URL = r'https?://(?:www\.)?youtube\.com/show/(?P<id>[^?#]*)' |
|
|
IE_NAME = 'youtube:show' |
|
|
IE_NAME = 'youtube:show' |
|
|
_TESTS = [{ |
|
|
_TESTS = [{ |
|
|
'url': 'https://www.youtube.com/show/airdisasters', |
|
|
'url': 'https://www.youtube.com/show/airdisasters', |
|
@ -2371,7 +2371,7 @@ class YoutubeFeedsInfoExtractor(YoutubeBaseInfoExtractor): |
|
|
class YoutubeWatchLaterIE(YoutubePlaylistIE): |
|
|
class YoutubeWatchLaterIE(YoutubePlaylistIE): |
|
|
IE_NAME = 'youtube:watchlater' |
|
|
IE_NAME = 'youtube:watchlater' |
|
|
IE_DESC = 'Youtube watch later list, ":ytwatchlater" for short (requires authentication)' |
|
|
IE_DESC = 'Youtube watch later list, ":ytwatchlater" for short (requires authentication)' |
|
|
_VALID_URL = r'https?://www\.youtube\.com/(?:feed/watch_later|(?:playlist|watch)\?(?:.+&)?list=WL)|:ytwatchlater' |
|
|
|
|
|
|
|
|
_VALID_URL = r'https?://(?:www\.)?youtube\.com/(?:feed/watch_later|(?:playlist|watch)\?(?:.+&)?list=WL)|:ytwatchlater' |
|
|
|
|
|
|
|
|
_TESTS = [{ |
|
|
_TESTS = [{ |
|
|
'url': 'https://www.youtube.com/playlist?list=WL', |
|
|
'url': 'https://www.youtube.com/playlist?list=WL', |
|
@ -2392,7 +2392,7 @@ class YoutubeWatchLaterIE(YoutubePlaylistIE): |
|
|
class YoutubeFavouritesIE(YoutubeBaseInfoExtractor): |
|
|
class YoutubeFavouritesIE(YoutubeBaseInfoExtractor): |
|
|
IE_NAME = 'youtube:favorites' |
|
|
IE_NAME = 'youtube:favorites' |
|
|
IE_DESC = 'YouTube.com favourite videos, ":ytfav" for short (requires authentication)' |
|
|
IE_DESC = 'YouTube.com favourite videos, ":ytfav" for short (requires authentication)' |
|
|
_VALID_URL = r'https?://www\.youtube\.com/my_favorites|:ytfav(?:ou?rites)?' |
|
|
|
|
|
|
|
|
_VALID_URL = r'https?://(?:www\.)?youtube\.com/my_favorites|:ytfav(?:ou?rites)?' |
|
|
_LOGIN_REQUIRED = True |
|
|
_LOGIN_REQUIRED = True |
|
|
|
|
|
|
|
|
def _real_extract(self, url): |
|
|
def _real_extract(self, url): |
|
@ -2403,21 +2403,21 @@ class YoutubeFavouritesIE(YoutubeBaseInfoExtractor): |
|
|
|
|
|
|
|
|
class YoutubeRecommendedIE(YoutubeFeedsInfoExtractor): |
|
|
class YoutubeRecommendedIE(YoutubeFeedsInfoExtractor): |
|
|
IE_DESC = 'YouTube.com recommended videos, ":ytrec" for short (requires authentication)' |
|
|
IE_DESC = 'YouTube.com recommended videos, ":ytrec" for short (requires authentication)' |
|
|
_VALID_URL = r'https?://www\.youtube\.com/feed/recommended|:ytrec(?:ommended)?' |
|
|
|
|
|
|
|
|
_VALID_URL = r'https?://(?:www\.)?youtube\.com/feed/recommended|:ytrec(?:ommended)?' |
|
|
_FEED_NAME = 'recommended' |
|
|
_FEED_NAME = 'recommended' |
|
|
_PLAYLIST_TITLE = 'Youtube Recommended videos' |
|
|
_PLAYLIST_TITLE = 'Youtube Recommended videos' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class YoutubeSubscriptionsIE(YoutubeFeedsInfoExtractor): |
|
|
class YoutubeSubscriptionsIE(YoutubeFeedsInfoExtractor): |
|
|
IE_DESC = 'YouTube.com subscriptions feed, "ytsubs" keyword (requires authentication)' |
|
|
IE_DESC = 'YouTube.com subscriptions feed, "ytsubs" keyword (requires authentication)' |
|
|
_VALID_URL = r'https?://www\.youtube\.com/feed/subscriptions|:ytsubs(?:criptions)?' |
|
|
|
|
|
|
|
|
_VALID_URL = r'https?://(?:www\.)?youtube\.com/feed/subscriptions|:ytsubs(?:criptions)?' |
|
|
_FEED_NAME = 'subscriptions' |
|
|
_FEED_NAME = 'subscriptions' |
|
|
_PLAYLIST_TITLE = 'Youtube Subscriptions' |
|
|
_PLAYLIST_TITLE = 'Youtube Subscriptions' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class YoutubeHistoryIE(YoutubeFeedsInfoExtractor): |
|
|
class YoutubeHistoryIE(YoutubeFeedsInfoExtractor): |
|
|
IE_DESC = 'Youtube watch history, ":ythistory" for short (requires authentication)' |
|
|
IE_DESC = 'Youtube watch history, ":ythistory" for short (requires authentication)' |
|
|
_VALID_URL = r'https?://www\.youtube\.com/feed/history|:ythistory' |
|
|
|
|
|
|
|
|
_VALID_URL = r'https?://(?:www\.)?youtube\.com/feed/history|:ythistory' |
|
|
_FEED_NAME = 'history' |
|
|
_FEED_NAME = 'history' |
|
|
_PLAYLIST_TITLE = 'Youtube History' |
|
|
_PLAYLIST_TITLE = 'Youtube History' |
|
|
|
|
|
|
|
|