]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[nrktv] Fix tests
authorSergey M․ <dstftw@gmail.com>
Sat, 11 Jun 2016 23:57:04 +0000 (06:57 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 11 Jun 2016 23:57:04 +0000 (06:57 +0700)
youtube_dl/extractor/nrk.py

index 486e086bb22d655d2ad5bc9df4aade07c9030816..4a790da7bc483ce4ece44b8a96dd845fad5d9f24 100644 (file)
@@ -163,7 +163,7 @@ class NRKTVIE(NRKBaseIE):
             'ext': 'mp4',
             'title': '20 spørsmål 23.05.2014',
             'description': 'md5:bdea103bc35494c143c6a9acdd84887a',
-            'duration': 1741.52,
+            'duration': 1741,
         },
     }, {
         'url': 'https://tv.nrk.no/program/mdfp15000514',
@@ -173,7 +173,7 @@ class NRKTVIE(NRKBaseIE):
             'ext': 'mp4',
             'title': 'Grunnlovsjubiléet - Stor ståhei for ingenting 24.05.2014',
             'description': 'md5:89290c5ccde1b3a24bb8050ab67fe1db',
-            'duration': 4605.08,
+            'duration': 4605,
         },
     }, {
         # single playlist video