summary refs log tree commit diff
diff options
context:
space:
mode:
authorFilippo Valsorda <filosottile.wiki@gmail.com>2014-02-10 01:30:47 +0100
committerFilippo Valsorda <filosottile.wiki@gmail.com>2014-02-10 01:30:47 +0100
commite70dc1d14b18447363f10c2fc11c1eea66e11a35 (patch)
treeda393ca81d26378fe20801e091c435b46a729f44
parent026fcc04956f2077a50cd4b4e9b87f45d2bcddea (diff)
downloadyoutube-dl-e70dc1d14b18447363f10c2fc11c1eea66e11a35.tar.gz
youtube-dl-e70dc1d14b18447363f10c2fc11c1eea66e11a35.tar.xz
youtube-dl-e70dc1d14b18447363f10c2fc11c1eea66e11a35.zip
[youtube] Correct a minor regex typo
-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 18a92e101..8c2c4dfa2 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -137,7 +137,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
                          (?:https?://|//)?                                    # http(s):// or protocol-independent URL (optional)
                          (?:(?:(?:(?:\w+\.)?[yY][oO][uU][tT][uU][bB][eE](?:-nocookie)?\.com/|
                             (?:www\.)?deturl\.com/www\.youtube\.com/|
-                            (?:www\.)?pwnyoutube\.com|
+                            (?:www\.)?pwnyoutube\.com/|
                             tube\.majestyc\.net/|
                             youtube\.googleapis\.com/)                        # the various hostnames, with wildcard subdomains
                          (?:.*?\#/)?                                          # handle anchor (#/) redirect urls