Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for www.safaribooksonline.com #5253

Closed
zx8 opened this issue Mar 21, 2015 · 7 comments
Closed

Support for www.safaribooksonline.com #5253

zx8 opened this issue Mar 21, 2015 · 7 comments

Comments

@zx8
Copy link

@zx8 zx8 commented Mar 21, 2015

Contrary to what the URL might suggest, Safari Books Online has plenty of video lessons as well - quite similar to Lynda.com support which is already implemented.

Sample URL - https://www.safaribooksonline.com/library/view/swift-fundamentals-livelessons/9780134049939/

@zx8
Copy link
Author

@zx8 zx8 commented Mar 21, 2015

Looks like there's a handy REST API we can hit to extract the various bits of info we need, e.g. https://www.safaribooksonline.com/api/v1/book/9780134049939

Safari use Brightcove to serve their videos which seems to have been already implemented in #832, so this might be a bit easier than I thought it'd be.

@zx8
Copy link
Author

@zx8 zx8 commented Mar 21, 2015

Right, it seems that downloading chapter previews one-by-one works out of the box using GenericIE, i.e.:

youtube-dl https://www.safaribooksonline.com/library/view/swift-fundamentals-livelessons/9780134049939/part00.html

All we need to do is: given a base course URL, handle login, extract (or infer, as the example below attempts to) the list of chapters via the REST API and then use BrightcoveIE to download them.

@zx8
Copy link
Author

@zx8 zx8 commented Mar 22, 2015

Gave this a go myself - #5262

Will continue this thread on the PR.

@zx8 zx8 closed this Mar 22, 2015
@gabrielcnr
Copy link

@gabrielcnr gabrielcnr commented Mar 9, 2016

@zx8 is this still working for you? I think Safari changed their media server to Kaltura instead of Brightcove. Tried to workaround that but no luck.

@zx8
Copy link
Author

@zx8 zx8 commented Mar 9, 2016

@gabrielcnr It won't work anymore, no.

My subscription to Safari recently expired so I don't really have the motivation update the extractor, I'm afraid. I'm sure someone else will come along and pick it up eventually! 😄

@diman82
Copy link

@diman82 diman82 commented Jun 16, 2016

I have an active subscription to safari, how can I aid to provide a support for it?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 16, 2016

Seems safaribooksonline is already added. Open a new issue if something goes wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.