summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2014-03-29 14:46:05 +0100
committerJaime Marquínez Ferrándiz <[email protected]>2014-03-29 14:57:48 +0100
commit87a2566048838f132ceb31dda23e23b12740750c (patch)
tree06319b95357ebbeb7edba0ba4e8a07440d456812
parent986f56736b4b51bab1bdea88883a33416cb0dede (diff)
downloadyoutube-dl-87a2566048838f132ceb31dda23e23b12740750c.tar.gz
youtube-dl-87a2566048838f132ceb31dda23e23b12740750c.zip
[metacritic] Modernize test
-rw-r--r--youtube_dl/extractor/metacritic.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/metacritic.py b/youtube_dl/extractor/metacritic.py
index 465ac4916..07f072924 100644
--- a/youtube_dl/extractor/metacritic.py
+++ b/youtube_dl/extractor/metacritic.py
@@ -13,8 +13,9 @@ class MetacriticIE(InfoExtractor):
_TEST = {
'url': 'http://www.metacritic.com/game/playstation-4/infamous-second-son/trailers/3698222',
- 'file': '3698222.mp4',
'info_dict': {
+ 'id': '3698222',
+ 'ext': 'mp4',
'title': 'inFamous: Second Son - inSide Sucker Punch: Smoke & Mirrors',
'description': 'Take a peak behind-the-scenes to see how Sucker Punch brings smoke into the universe of inFAMOUS Second Son on the PS4.',
'duration': 221,