[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:
parent
3b5f65a64c
commit
99c977e2c9
@ -76,7 +76,7 @@ class EroProfileIE(InfoExtractor):
|
|||||||
webpage, 'video id', default=None)
|
webpage, 'video id', default=None)
|
||||||
|
|
||||||
video_url = self._search_regex(
|
video_url = self._search_regex(
|
||||||
r'<source src="([^"]+)', webpage, 'video url')
|
r'<source src="([^"]+)', webpage, 'video url').replace("&", "&")
|
||||||
title = self._html_search_regex(
|
title = self._html_search_regex(
|
||||||
r'Title:</th><td>([^<]+)</td>', webpage, 'title')
|
r'Title:</th><td>([^<]+)</td>', webpage, 'title')
|
||||||
thumbnail = self._search_regex(
|
thumbnail = self._search_regex(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user