summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2013-08-30 20:13:05 +0200
committerJaime Marquínez Ferrándiz <[email protected]>2013-08-30 20:13:05 +0200
commitc7a7750d3b825e3f7aa9cd3617a76d2f56c1387d (patch)
tree42b88fea90309e4ebc3f0764e7f11af094bce435
parent9193c1eededf996378307a0c60bb1e7eeaa1b9da (diff)
downloadyoutube-dl-c7a7750d3b825e3f7aa9cd3617a76d2f56c1387d.tar.gz
youtube-dl-c7a7750d3b825e3f7aa9cd3617a76d2f56c1387d.zip
[youtube] Fix typo in the _VALID_URL for YoutubeFavouritesIE, it was intended to also match :ytfavourites
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 9e2373bd5..00e2b320a 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -1161,7 +1161,7 @@ class YoutubeWatchLaterIE(YoutubeFeedsInfoExtractor):
class YoutubeFavouritesIE(YoutubeBaseInfoExtractor):
IE_NAME = u'youtube:favorites'
IE_DESC = u'YouTube.com favourite videos, "ytfav" keyword (requires authentication)'
- _VALID_URL = r'https?://www\.youtube\.com/my_favorites|:ytfav(?:o?rites)?'
+ _VALID_URL = r'https?://www\.youtube\.com/my_favorites|:ytfav(?:ou?rites)?'
_LOGIN_REQUIRED = True
def _real_extract(self, url):