[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
This commit is contained in:
frenchy1983 2015-05-09 12:52:52 +02:00
parent 3b5f65a64c
commit 99c977e2c9

View File

@ -76,7 +76,7 @@ class EroProfileIE(InfoExtractor):
webpage, 'video id', default=None)
video_url = self._search_regex(
r'<source src="([^"]+)', webpage, 'video url')
r'<source src="([^"]+)', webpage, 'video url').replace("&amp;", "&")
title = self._html_search_regex(
r'Title:</th><td>([^<]+)</td>', webpage, 'title')
thumbnail = self._search_regex(