From 99c977e2c9b6d8ef65ef18a52a118b6adc42b09b Mon Sep 17 00:00:00 2001 From: frenchy1983 Date: Sat, 9 May 2015 12:52:52 +0200 Subject: [PATCH] [EroProfile] Fix 403 (due to bad URL) Before: $ python test/test_download.py TestDownload.test_EroProfile ... ERROR: unable to download video data: HTTP Error 403: Forbidden After: $ python test/test_download.py TestDownload.test_EroProfile ... OK --- youtube_dl/extractor/eroprofile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/eroprofile.py b/youtube_dl/extractor/eroprofile.py index 0cbca90b0..b876abbb7 100644 --- a/youtube_dl/extractor/eroprofile.py +++ b/youtube_dl/extractor/eroprofile.py @@ -76,7 +76,7 @@ class EroProfileIE(InfoExtractor): webpage, 'video id', default=None) video_url = self._search_regex( - r'([^<]+)', webpage, 'title') thumbnail = self._search_regex(