diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-02-09 16:05:01 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-02-09 16:05:01 +0100 |
commit | 28f1272870c43700a90af4671b6eae46d0fab6c6 (patch) | |
tree | 4cb617f04f5349a24567937f31160d0871bd6f07 /youtube_dl | |
parent | f18e3a2fc0b73011c98c39d54576fb835cee4561 (diff) |
[svtplay] Correct test case
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/svtplay.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/youtube_dl/extractor/svtplay.py b/youtube_dl/extractor/svtplay.py index 727b3d1fc..eadb9ccb4 100644 --- a/youtube_dl/extractor/svtplay.py +++ b/youtube_dl/extractor/svtplay.py @@ -1,3 +1,4 @@ +# coding: utf-8 from __future__ import unicode_literals from .common import InfoExtractor @@ -10,13 +11,13 @@ class SVTPlayIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?svtplay\.se/video/(?P<id>[0-9]+)' _TEST = { 'url': 'http://www.svtplay.se/video/2609989/sm-veckan/sm-veckan-rally-final-sasong-1-sm-veckan-rally-final', - 'md5': '2521cd644e862936cf2e698206e47385', + 'md5': 'f4a184968bc9c802a9b41316657aaa80', 'info_dict': { - 'id': '3966754', + 'id': '2609989', 'ext': 'mp4', - 'title': 'FIFA 14 - E3 2013 Trailer', + 'title': 'SM veckan vinter, Örebro - Rally, final', 'duration': 4500, - 'thumbnail': 're:^https?://.*\.jpg$', + 'thumbnail': 're:^https?://.*[\.-]jpg$', }, } |