From 7f9994ad0490a212690ea3aae9204bc59cdec040 Mon Sep 17 00:00:00 2001 From: theGeekPirate Date: Sat, 26 Mar 2016 14:47:06 -0700 Subject: [PATCH] Sane variable naming --- youtube_dl/extractor/camwithher.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,