aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/gamespot.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2013-11-20 06:27:48 +0100
committerPhilipp Hagemeister <[email protected]>2013-11-20 06:27:48 +0100
commitf3682997d7a709e7cf74ba83773570d2a99beb12 (patch)
tree9e14e70dfea76583a593468c366b5bc818215af5 /youtube_dl/extractor/gamespot.py
parentcc13cc0251b287ac88883096fcc36a8072e7ab5d (diff)
downloadyoutube-dl-f3682997d7a709e7cf74ba83773570d2a99beb12.tar.gz
youtube-dl-f3682997d7a709e7cf74ba83773570d2a99beb12.zip
Clean up unused imports and other minor mistakes
Diffstat (limited to 'youtube_dl/extractor/gamespot.py')
-rw-r--r--youtube_dl/extractor/gamespot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/gamespot.py b/youtube_dl/extractor/gamespot.py
index 098768361..9645b00c3 100644
--- a/youtube_dl/extractor/gamespot.py
+++ b/youtube_dl/extractor/gamespot.py
@@ -24,7 +24,7 @@ class GameSpotIE(InfoExtractor):
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)
- page_id = video_id = mobj.group('page_id')
+ page_id = mobj.group('page_id')
webpage = self._download_webpage(url, page_id)
data_video_json = self._search_regex(r'data-video=\'(.*?)\'', webpage, u'data video')
data_video = json.loads(unescapeHTML(data_video_json))