mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-10-23 15:26:52 +09:00
[drtv] Allow fractional timestamps (Fixes #4059)
This commit is contained in:
1 parent
50c8266ef0
commit
6ad4013d40
3 files changed
+5
-7
No files matched your search
@@ -289,6 +289,7 @@ class TestUtil(unittest.TestCase):
|
||||
self.assertEqual(parse_iso8601('2014-03-23T23:04:26+0100'), 1395612266)
|
||||
self.assertEqual(parse_iso8601('2014-03-23T22:04:26+0000'), 1395612266)
|
||||
self.assertEqual(parse_iso8601('2014-03-23T22:04:26Z'), 1395612266)
|
||||
self.assertEqual(parse_iso8601('2014-03-23T22:04:26.1234Z'), 1395612266)
|
||||
|
||||
def test_strip_jsonp(self):
|
||||
stripped = strip_jsonp('cb ([ {"id":"532cb",\n\n\n"x":\n3}\n]\n);')
|
||||
|
||||
Reference in new issue
Block a user