Skip to content

A feature-rich command-line audio/video downloader

[safari] Add test for #5985

Sergey M․4fd35ee072a3
diff --git a/youtube_dl/extractor/safari.py b/youtube_dl/extractor/safari.py
index 20ba6fa336..f3c80708c8 100644
--- a/youtube_dl/extractor/safari.py
+++ b/youtube_dl/extractor/safari.py
@@ -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):