[xhamster] Update tests
authorSergey M․ <dstftw@gmail.com>
Fri, 8 Jan 2016 18:36:43 +0000 (00:36 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 8 Jan 2016 18:36:43 +0000 (00:36 +0600)
youtube_dl/extractor/xhamster.py

index 981ee284f78d1fcf4f7ed605604f8d5199dfe289..066af184f4f580bec0371bc75d7e5eab3f4fe2ac 100644 (file)
@@ -22,7 +22,7 @@ class XHamsterIE(InfoExtractor):
                 'title': 'FemaleAgent Shy beauty takes the bait',
                 'upload_date': '20121014',
                 'uploader': 'Ruseful2011',
-                'duration': 893,
+                'duration': 893.52,
                 'age_limit': 18,
             }
         },
@@ -34,7 +34,7 @@ class XHamsterIE(InfoExtractor):
                 'title': 'Britney Spears  Sexy Booty',
                 'upload_date': '20130914',
                 'uploader': 'jojo747400',
-                'duration': 200,
+                'duration': 200.48,
                 'age_limit': 18,
             }
         },