From d8826c0bddd8ffb340287b63de8252739d1bb802 Mon Sep 17 00:00:00 2001 From: Erik Date: Sun, 25 Oct 2015 09:37:37 +0100 Subject: [PATCH] [youporn] Fix: cleanup --- youtube_dl/extractor/youporn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/youporn.py b/youtube_dl/extractor/youporn.py index f288f1eeb..546985f3a 100644 --- a/youtube_dl/extractor/youporn.py +++ b/youtube_dl/extractor/youporn.py @@ -56,8 +56,8 @@ class YouPornIE(InfoExtractor): video_date = datetime.datetime.strptime(video_date, '%B %d, %Y').strftime('%Y%m%d') # Get all of the links from the page - DOWNLOAD_LIST_RE = r'(?s)sources: {\n(?P.*?)}' - download_list_html = self._search_regex(DOWNLOAD_LIST_RE, webpage, 'testje').strip() + DOWNLOAD_LIST_RE = r'(?s)sources: {\n(?P.*?)}' + download_list_html = self._search_regex(DOWNLOAD_LIST_RE, webpage, 'download list').strip() LINK_RE = r': \'(.+?)\',' links = re.findall(LINK_RE, download_list_html)