From: Sergey M․ Date: Sat, 9 May 2015 15:19:09 +0000 (+0600) Subject: [eroprofile] Fix video URL extraction (Closes #5657) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=32fffff2ccc044c639c8723281981aa347423762;p=youtube-dl.git [eroprofile] Fix video URL extraction (Closes #5657) --- diff --git a/youtube_dl/extractor/eroprofile.py b/youtube_dl/extractor/eroprofile.py index 0cbca90b0..316033cf1 100644 --- a/youtube_dl/extractor/eroprofile.py +++ b/youtube_dl/extractor/eroprofile.py @@ -4,7 +4,10 @@ import re from .common import InfoExtractor from ..compat import compat_urllib_parse -from ..utils import ExtractorError +from ..utils import ( + ExtractorError, + unescapeHTML +) class EroProfileIE(InfoExtractor): @@ -75,8 +78,8 @@ class EroProfileIE(InfoExtractor): [r"glbUpdViews\s*\('\d*','(\d+)'", r'p/report/video/(\d+)'], webpage, 'video id', default=None) - video_url = self._search_regex( - r'([^<]+)', webpage, 'title') thumbnail = self._search_regex(