aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-06-01 23:29:45 +0700
committerSergey M․ <dstftw@gmail.com>2017-06-01 23:29:45 +0700
commit39d4c1be4d601a3297157315652637ca52000965 (patch)
tree1a95557a14157b07d997adccce9c1ebf226d6729 /test
parentf7a747ce59036dca4451037bff4b75cf358e4ad5 (diff)
[youtube] Improve chapters extraction (closes #13247)
Diffstat (limited to 'test')
-rw-r--r--test/test_youtube_chapters.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_youtube_chapters.py b/test/test_youtube_chapters.py
index cb12f8384..324ca8525 100644
--- a/test/test_youtube_chapters.py
+++ b/test/test_youtube_chapters.py
@@ -254,6 +254,13 @@ class TestYoutubeChapters(unittest.TestCase):
'title': '3 - Из серпов луны...[Iz serpov luny]',
}]
),
+ (
+ # https://www.youtube.com/watch?v=xZW70zEasOk
+ # time point more than duration
+ '''● LCS Spring finals: Saturday and Sunday from <a href="#" onclick="yt.www.watch.player.seekTo(13*60+30);return false;">13:30</a> outside the venue! <br />● PAX East: Fri, Sat & Sun - more info in tomorrows video on the main channel!''',
+ 283,
+ []
+ ),
]
def test_youtube_chapters(self):