aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/gamespot.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-17 03:13:40 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-17 03:13:40 +0100
commitc1195541b7c62af7a7c3e6ae802f4412173a61a3 (patch)
treebf85538869e2061fea720321330560410e47e272 /youtube_dl/extractor/gamespot.py
parent26844eb57b398cc71b2f58d2a94494a976c3aff2 (diff)
downloadyoutube-dl-c1195541b7c62af7a7c3e6ae802f4412173a61a3.zip
youtube-dl-c1195541b7c62af7a7c3e6ae802f4412173a61a3.tar.gz
youtube-dl-c1195541b7c62af7a7c3e6ae802f4412173a61a3.tar.bz2
[gamespot] Use unicode_literals
Diffstat (limited to 'youtube_dl/extractor/gamespot.py')
-rw-r--r--youtube_dl/extractor/gamespot.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/youtube_dl/extractor/gamespot.py b/youtube_dl/extractor/gamespot.py
index 26b7d2a..380ebbe 100644
--- a/youtube_dl/extractor/gamespot.py
+++ b/youtube_dl/extractor/gamespot.py
@@ -1,3 +1,5 @@
+from __future__ import unicode_literals
+
import re
import json
@@ -13,12 +15,12 @@ from ..utils import (
class GameSpotIE(InfoExtractor):
_VALID_URL = r'(?:http://)?(?:www\.)?gamespot\.com/.*-(?P<page_id>\d+)/?'
_TEST = {
- u"url": u"http://www.gamespot.com/arma-iii/videos/arma-iii-community-guide-sitrep-i-6410818/",
- u"file": u"gs-2300-6410818.mp4",
- u"md5": u"b2a30deaa8654fcccd43713a6b6a4825",
- u"info_dict": {
- u"title": u"Arma 3 - Community Guide: SITREP I",
- u'description': u'Check out this video where some of the basics of Arma 3 is explained.',
+ "url": "http://www.gamespot.com/arma-iii/videos/arma-iii-community-guide-sitrep-i-6410818/",
+ "file": "gs-2300-6410818.mp4",
+ "md5": "b2a30deaa8654fcccd43713a6b6a4825",
+ "info_dict": {
+ "title": "Arma 3 - Community Guide: SITREP I",
+ 'description': 'Check out this video where some of the basics of Arma 3 is explained.',
}
}