From ce46fd91b672fcca0d3797e025024d42cb0aa042 Mon Sep 17 00:00:00 2001 From: EduardBaer Date: Sun, 1 Sep 2013 20:00:19 +0200 Subject: [PATCH] Changing regex for video ids in youtube users Only video ids within link tags should be considered. Otherwise youtube-dl might download videos that are mentioned in the video description as well. --- youtube_dl/extractor/youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 810ce6f5d..7a5405a4b 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1019,7 +1019,7 @@ class YoutubeUserIE(InfoExtractor): # Extract video identifiers ids_in_page = [] - for mobj in re.finditer(self._VIDEO_INDICATOR, page): + for mobj in re.finditer('', page): if mobj.group(1) not in ids_in_page: ids_in_page.append(mobj.group(1))