From b8005afc20aac352aa50ca089f33aa279e6ae03b Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Mon, 22 Oct 2012 09:15:27 +0200 Subject: [PATCH] handle YT urls with #/ redirects (closes #484) --- youtube_dl/InfoExtractors.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 88973cce8..c35b68b8f 100644 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -102,6 +102,7 @@ class YoutubeIE(InfoExtractor): (?:https?://)? # http(s):// (optional) (?:youtu\.be/|(?:\w+\.)?youtube(?:-nocookie)?\.com/| tube\.majestyc\.net/) # the various hostnames, with wildcard subdomains + (?:.*?\#/)? # handle anchor (#/) redirect urls (?!view_play_list|my_playlists|artist|playlist) # ignore playlist URLs (?: # the various things that can precede the ID: (?:(?:v|embed|e)/) # v/ or embed/ or e/ -- 2.39.5