Browse Source

[youtube] Correct a minor regex typo

totalwebcasting
Filippo Valsorda 11 years ago
parent
commit
e70dc1d14b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/youtube.py

+ 1
- 1
youtube_dl/extractor/youtube.py View 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


Loading…
Cancel
Save