Giter Club home page Giter Club logo

sbo-video-extension's Introduction

Welcome to Safari (SBO) Chrome Video Extension

Where SBO refers to Safari Books Online (copyrights reserved)

Download Now

Features

This extension can be used for both new safari site and old site (techbus) to download the videos (but only if you have a registered account at Safari books online)

New: Choose Download Quality

Now you can choose the download quality (usually start from audio to medium and hight quality video)

The new website

The new webiste that have the domain name: www.safaribooksonline.com

Then now you can enjoy the video downloads by clicking the little black icon beside each video lesson allow you to choose the quality to download (see the picture).

The Old website (techbus)

The old website the one that have the domain name: techbus.safaribooksonline.com.

Once you have the extension installed, and you click on any video course, after a while (5 seconds) you will see a little orange icon beside each video lesson allow you to choose the quality to download (see the picture).

Have issue?

Feel free to contact me via [opening an issue] (https://github.com/mhewedy/SBO-video-extension/issues/new), email or any mean if you need any help.

You need to provide a course URL and chrome console output along with your issue to be able to help

sbo-video-extension's People

Contributors

fmodesto avatar mfradcourt avatar mhewedy avatar quanhua92 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sbo-video-extension's Issues

Failed - no file

When I click the "click to download" button, I get an empty file and the "failed - no file" message
image

Change video quality

Hi, thanks for this superb addon.

One question: is there any possibility to change the quality of videos being downloaded? I have a learning path of ~100 videos, 300-500 MB each. Downloading entire path is doable but quite painful. Is there any parameter I can change?

Thanks!

not downloading right movie

Hi,

Love the extension, however it seems that movies are not downloaded in right order.

e.g
Table of Contents
Welcome to class! ( doesn't have the icon to download the video)
Getting Started
hello world (has icon to download) however when downloading this video it actually downloads Welcome to class! video. Video after hello world will actually download hello world rather then it self and so on.

I hope that makes sense.

Download menu is not shown

I have installed SBO video extension (and already retry to uninstall and install again),
but the download menu still now shown.

previously I can use this extension while still have to access unsecured URL.

one of my sample URL is
sbo/library/view/introduction-to-django/9781771375375/

any idea how to debug, or get to know further to check why the download menu is not show up?

thank you.

Can I decrease the downlaod size

Looks like it is downloading with high resolution. Each video is taking lot of time to download as size of each video is very big. Can I download video with small size or resolution?

(Copied from The support page of the extension on chrome store)

Unable to download videos. "Mixed content: " warnings and no download video button

First of all thanks for the awesome extension. I am trying to make it work, followed your tip to load unable scripts but I am unable to see any download video button. Instead I get many "Mixed content" warnings in the developer console.
Just one of the many warning msgs
chrome-extension://ihgjlggckknakenjhgmfgaoalflhfihl/lib/jquery.min.js:4 Mixed Content: The page at 'https://www.safaribooksonline.com/library/view/javascript-video-how-to/9780672337741/part00.html?autoStart=True' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://cdnapi.kaltura.com/html5/html5lib/v2.35/mwEmbedFrame.php?&wid=_19260…onf_id=30379722&flashvars[referenceId]=9780672337741-JAVA_01_01&callback=o'. This content should also be served over HTTPS.

Could you help me in resolving the issue?

Download video: Does not play out

Seems like other issue where small videos are downloading large amounts of data. 10 minute video over 1 GB of .mp4.
Then of the 4 I downloaded only 1 played out in VLC.

Info needed for improvement, video quality options.

Can you please explaing where the download link is created? I would need this to select what quality to download, as 1920 is too much and maybe some other qualities can be downloaded. I think there are 3 video quality files.

Can you implement a naming rule

Can you implement a naming rule, to start counting the videos from 001 and start the filenames with that? (it can be taken from the part number when you play the video, the url writes out par number)

This can be helpful for parallel downloading, so they stay in order.

Example:
006-Loops.mp4
007-Dictionaries.mp4

(Copied from The support page of the extension on chrome store)

Code recommendations

Hi,

First, thanks for building this extension!

I ran into trouble grabbing some videos so took a look at the code. Just wanted to share some recommendations:

  1. The bug I hit was due to the hardcoding of "http://" here: https://github.com/mhewedy/SBO-video-extension/blob/master/core/util.js#L35, specifically I was getting security errors since I was accessing the site over https. I'd recommend checking whether the user is on http or https.
  2. The code will be cleaner if you put the main file and all the files in core into a single file. The reason why is that each of the files are fairly small, and currently it's hard to find what happens where.
  3. The code can also be cleaned up by using promises to handle async (instead of always calling forward).
  4. Finally, my last recommendation is to get rid of jquery. Modern have decent apis built in for doing ajax and querying the dom. Here's a guide that maps jquery to the browser equivalent: http://youmightnotneedjquery.com/

I'd be happy to take a pass as some of these suggestions when I have a bit more time.

safari online books extension issue

Greeting! i am a safari subscriber. when i installed this extension in my chrome it worked fine & i loved it, but the next day it didnt show any download buttons. please you have to fix it. i could use other softwares but your's the best i love it.
thank you
untitled-1

Unable to see the download icon

Hello Muhammed,

Your extension was a great help in downloading the videos. Thank you very much for it. However, looks like something is broken and we are not able to see the download icon for the videos. Could you please check and help us? Thanks again!

Regards,
Murali

Downloading only till 1 min per video

Hi,

Thanks for this extension which is really nice one. But today I noticed it's downloaded partial video which is only 1 min. But the video duration is 18+ mins.

Can you please help me.

Thanks,
Drtuts

Unable to download specific videos while the rest of the videos in the course get downloaded fine

Hello! I am unable to download specific videos while the rest of the videos in the course get downloaded easily. I will provide two examples here.

https://www.safaribooksonline.com/library/view/ccna-collaboration-cisco/9780134541853/

All videos get downloaded except for -
Module 9: Introduction to Cisco Unity Connection (CUC)
Module 18: Adding Video Endpoints

Another one is https://www.safaribooksonline.com/library/view/learning-path-cisco/9780134663999/ where the following video does not get downloaded -
Lesson 6: Default Route Advertisement

Please help. Thank you.

Won't download videos anymore

Hi
I last successfully d/l videos about 4 weeks ago and my installed version is 1.7.

I have attached a screenshot to show that I am getting the icons and is a clickable item. But when I click, nothing happens.
screenshot

Extension doesn't activate

For me, the extension doesn't activate. I'm wondering if this might be the issue - I'm always redirected to https instead of http.

Thanks

Thanks a lot for this amazing plugin :-)

Forbidden errors for certain files

When trying to download certain files, I am getting a 404 error, forbidden using Chrome on Mac Yosemite. The files mostly seem to be the very large, over 2GB.

SBO-video-extension not working for some courses.

Extension is not working for some courses. Download option is not visible,

I am posting some of the links for which extension is not working,

  1. https://www.safaribooksonline.com/library/view/java-9-functional/9781788390439/
  2. https://www.safaribooksonline.com/library/view/practical-opencv-3/9781787126428/

I found errors in console while inspecting elements.

Injecting safari book download extension
(index):1 Mixed Content: The page at 'https://www.safaribooksonline.com/library/view/practical-opencv-3/9781787126428/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://techbus.safaribooksonline.com/pagenotfound'. This content should also be served over HTTPS.
techbus.safaribooksonline.com/pagenotfound Failed to load resource: the server responded with a status of 404 (Not Found)
util.js:10 js source is undefined!, exiting...
start @ util.js:10
(anonymous) @ new.js:20
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
y @ jquery.min.js:4
c @ jquery.min.js:4

Configuring the download quality

Hi,

First of all, thanks a lot for a wonderful extension and it works as expected. But, I would like to know if we can control the download quality as well? It would be a great help if we could control the quality(pixels) of download. Currently, it downloads the video with high quality, but due to internet connectivity, is it possible if we can download the videos in low quality.
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.