summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-06-12 06:57:04 +0700
committerSergey M․ <dstftw@gmail.com>2016-06-12 06:57:04 +0700
commit4e790117292d060a3e449c9edfffe14d231aee96 (patch)
tree44aab28953ef806629b27b2973e3e5a5051174e4
parenta936ac321c5c0cee8e9769334945e744cdc60ae2 (diff)
downloadyoutube-dl-4e790117292d060a3e449c9edfffe14d231aee96.tar.gz
youtube-dl-4e790117292d060a3e449c9edfffe14d231aee96.tar.xz
youtube-dl-4e790117292d060a3e449c9edfffe14d231aee96.zip
[nrktv] Fix tests
-rw-r--r--youtube_dl/extractor/nrk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py
index 486e086bb..4a790da7b 100644
--- a/youtube_dl/extractor/nrk.py
+++ b/youtube_dl/extractor/nrk.py
@@ -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