Browse Source

[safari] Add test for #5985

totalwebcasting
Sergey M․ 10 years ago
parent
commit
4fd35ee072
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      youtube_dl/extractor/safari.py

+ 4
- 0
youtube_dl/extractor/safari.py View File

@ -100,6 +100,10 @@ class SafariIE(SafariBaseIE):
}, { }, {
'url': 'https://www.safaribooksonline.com/api/v1/book/9780133392838/chapter/part00.html', 'url': 'https://www.safaribooksonline.com/api/v1/book/9780133392838/chapter/part00.html',
'only_matching': True, '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): def _real_extract(self, url):


Loading…
Cancel
Save