diff --git a/youtube_dl/extractor/camwithher.py b/youtube_dl/extractor/camwithher.py index b12e39ed2..1eb80b7f1 100644 --- a/youtube_dl/extractor/camwithher.py +++ b/youtube_dl/extractor/camwithher.py @@ -36,9 +36,9 @@ class CamWithHerIE(InfoExtractor): ] def _real_extract(self, url): - url = self._download_webpage(url, '') + webpage = self._download_webpage(url, '') - video_id = self._html_search_regex(r' 2010: rtmp_url = 'rtmp://camwithher.tv/clipshare/mp4:' + video_id + '.mp4' @@ -47,7 +47,7 @@ class CamWithHerIE(InfoExtractor): rtmp_url = 'rtmp://camwithher.tv/clipshare/' + video_id ext = 'flv' - title = self._html_search_regex(r'
\s+

(.+?)

', url, 'title') + title = self._html_search_regex(r'
\s+

(.+?)

', webpage, 'title') return { 'id': video_id,