From 0a2d66088c3851ac79600c09110d0b098cd3ed5d Mon Sep 17 00:00:00 2001 From: John Hawkinson Date: Tue, 24 Jan 2017 00:45:34 -0500 Subject: [PATCH] [iqm2] don't reuse webpage var twice --- youtube_dl/extractor/iqm2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/iqm2.py b/youtube_dl/extractor/iqm2.py index f2a3a801c..cffd0790a 100644 --- a/youtube_dl/extractor/iqm2.py +++ b/youtube_dl/extractor/iqm2.py @@ -78,7 +78,7 @@ class IQM2IE(JWPlatformBaseIE): def _real_extract(self, url): parent_id = self._match_id(url) - webpage = self._download_webpage(url, parent_id) + parent_page = self._download_webpage(url, parent_id) # Take, e.g. # http://cambridgema.iqm2.com/Citizens/SplitView.aspx?Mode=Video&MeetingID=1679 @@ -88,7 +88,7 @@ class IQM2IE(JWPlatformBaseIE): # and then parse the canonicalized src element inner_url_rel = self._html_search_regex( r'