]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[youtube] Correct a minor regex typo
authorFilippo Valsorda <filosottile.wiki@gmail.com>
Mon, 10 Feb 2014 00:30:47 +0000 (01:30 +0100)
committerFilippo Valsorda <filosottile.wiki@gmail.com>
Mon, 10 Feb 2014 00:30:47 +0000 (01:30 +0100)
youtube_dl/extractor/youtube.py

index 18a92e1019e81a38c6d081e0c18787f02de4baa9..8c2c4dfa20b65146545f59671663e143b9f398f4 100644 (file)
@@ -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