[safari] Add test for #5985
authorSergey M․ <dstftw@gmail.com>
Mon, 15 Jun 2015 15:36:30 +0000 (21:36 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 15 Jun 2015 15:36:30 +0000 (21:36 +0600)
youtube_dl/extractor/safari.py

index 20ba6fa336738ab635fa290370948ed0eff2f8b9..f3c80708c86ab2fc29fbd029b245bbe894af2dfb 100644 (file)
@@ -100,6 +100,10 @@ class SafariIE(SafariBaseIE):
     }, {
         'url': 'https://www.safaribooksonline.com/api/v1/book/9780133392838/chapter/part00.html',
         'only_matching': True,
+    }, {
+        # non-digits in course id
+        'url': 'https://www.safaribooksonline.com/library/view/create-a-nodejs/100000006A0210/part00.html',
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):