about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-03-24 02:55:52 +0700
committerSergey M․ <dstftw@gmail.com>2020-03-24 02:57:53 +0700
commit6e47200b6ecaeafc65a8f5a19cd12d6e91ad186e (patch)
treeb333bee8484072337e06445c501a7b781f135eff
parent38fa761a4549dc2c3b155306a8a9441944bdcf01 (diff)
downloadyoutube-dl-6e47200b6ecaeafc65a8f5a19cd12d6e91ad186e.tar.gz
youtube-dl-6e47200b6ecaeafc65a8f5a19cd12d6e91ad186e.tar.xz
youtube-dl-6e47200b6ecaeafc65a8f5a19cd12d6e91ad186e.zip
[teachable] Update test
-rw-r--r--youtube_dl/extractor/teachable.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/youtube_dl/extractor/teachable.py b/youtube_dl/extractor/teachable.py
index 2d9d354e8..a75369dbe 100644
--- a/youtube_dl/extractor/teachable.py
+++ b/youtube_dl/extractor/teachable.py
@@ -111,15 +111,17 @@ class TeachableIE(TeachableBaseIE):
                     ''' % TeachableBaseIE._VALID_URL_SUB_TUPLE
 
     _TESTS = [{
-        'url': 'http://v1.upskillcourses.com/courses/essential-web-developer-course/lectures/1747100',
+        'url': 'https://gns3.teachable.com/courses/gns3-certified-associate/lectures/6842364',
         'info_dict': {
-            'id': 'uzw6zw58or',
-            'ext': 'mp4',
-            'title': 'Welcome to the Course!',
-            'description': 'md5:65edb0affa582974de4625b9cdea1107',
-            'duration': 138.763,
-            'timestamp': 1479846621,
-            'upload_date': '20161122',
+            'id': 'untlgzk1v7',
+            'ext': 'bin',
+            'title': 'Overview',
+            'description': 'md5:071463ff08b86c208811130ea1c2464c',
+            'duration': 736.4,
+            'timestamp': 1542315762,
+            'upload_date': '20181115',
+            'chapter': 'Welcome',
+            'chapter_number': 1,
         },
         'params': {
             'skip_download': True,