From 5b995f713bf45e9e373029e1411811dfde855088 Mon Sep 17 00:00:00 2001 From: Remita Amine Date: Thu, 23 Feb 2017 18:46:20 +0100 Subject: [PATCH] [utils] add support for ttml styles --- test/test_utils.py | 41 +++++++++++++++ youtube_dl/utils.py | 120 ++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 152 insertions(+), 9 deletions(-) diff --git a/test/test_utils.py b/test/test_utils.py index aa4569b81..4cd818850 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -1069,6 +1069,47 @@ def test_dfxp2srt(self): ''' self.assertEqual(dfxp2srt(dfxp_data_no_default_namespace), srt_data) + dfxp_data_with_style = ''' + + + +