aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-06-15 21:36:30 +0600
committerSergey M․ <dstftw@gmail.com>2015-06-15 21:36:30 +0600
commit4fd35ee072a39654f11e794db5c50ee375c9a7c6 (patch)
treeb00101406a33d8b0f39faab814cea7897bf1dd26 /youtube_dl/extractor
parent636a9637f4cc4f40b10a9db3be4ff6fc7e5b38f5 (diff)
[safari] Add test for #5985
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/safari.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/extractor/safari.py b/youtube_dl/extractor/safari.py
index 20ba6fa33..f3c80708c 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):