Open elmobotix opened 3 years ago
Hi,
I'm no more using this scrip as the youtube-dl can do it by its own. It can also download videos from another popular site like udemy an so. Please have a look.
Hi, Ah OK. Can YouTube-dl manage full batch downloads so I can get a full course rather than single videos from Oreilly?
Yes this tool can download whole video course.
Great many thanks. I’ve been trying for ages to get full courses but I’m not good at coding etc so I find it a bit challenging. Do you know if anyone has written a guide on how to do it.
On Tue, 16 Feb 2021 at 08:24, zdr1976 notifications@github.com wrote:
Yes this tool can download whole video course.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zdr1976/svbd/issues/2#issuecomment-779669387, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASXX2MQR5KVOLOHLWFAUE3DS7ITSXANCNFSM4XU4UCYA .
So here you are example how to download via youtube-dl
youtube-dl -u your@account.com -o '%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s' -f 'bestvideo[height<=720]+bestaudio/best[height<=720]/worst' https://learning.oreilly.com/videos/node-js-api-masterclass/9781800569638/
You can adjust quality and output as you need. Check manual pages for more options. This is one i use.
So, I assume I can either use the same folder that I use for getting books from safari, or I simply make a new folder. Ive just tried both of those ways and have but my email in the script (no password!! - or do I put ":mypassword" after the email address?)
I get an error anyway. [image: image.png]
On Tue, 16 Feb 2021 at 08:37, zdr1976 notifications@github.com wrote:
So here you are example how to download via youtube-dl
youtube-dl -u your@account.com -o '%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s' -f 'bestvideo[height<=720]+bestaudio/best[height<=720]/worst' https://learning.oreilly.com/videos/node-js-api-masterclass/9781800569638/
You can adjust quality and output as you need. Check manual pages for more options. This is one i use.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zdr1976/svbd/issues/2#issuecomment-779676470, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASXX2MWWZ3TVRGU3XKJX6C3S7IVEPANCNFSM4XU4UCYA .
[image: image.png]I did use -u before the email address.
On Tue, 16 Feb 2021 at 08:37, zdr1976 notifications@github.com wrote:
So here you are example how to download via youtube-dl
youtube-dl -u your@account.com -o '%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s' -f 'bestvideo[height<=720]+bestaudio/best[height<=720]/worst' https://learning.oreilly.com/videos/node-js-api-masterclass/9781800569638/
You can adjust quality and output as you need. Check manual pages for more options. This is one i use.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zdr1976/svbd/issues/2#issuecomment-779676470, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASXX2MWWZ3TVRGU3XKJX6C3S7IVEPANCNFSM4XU4UCYA .
Doh, just looked on Github, theres a repository to get first right!
On Tue, 16 Feb 2021 at 08:37, zdr1976 notifications@github.com wrote:
So here you are example how to download via youtube-dl
youtube-dl -u your@account.com -o '%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s' -f 'bestvideo[height<=720]+bestaudio/best[height<=720]/worst' https://learning.oreilly.com/videos/node-js-api-masterclass/9781800569638/
You can adjust quality and output as you need. Check manual pages for more options. This is one i use.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zdr1976/svbd/issues/2#issuecomment-779676470, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASXX2MWWZ3TVRGU3XKJX6C3S7IVEPANCNFSM4XU4UCYA .
-u
is user name on oreilly.com it's email address as your account.
Yeah sorry I understood that part. Do I need the youtube-dl repository from Github https://github.com/ytdl-org/youtube-dl.git ?
On Tue, 16 Feb 2021 at 08:54, zdr1976 notifications@github.com wrote:
-u is user name on oreilly.com it's email address as your account.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zdr1976/svbd/issues/2#issuecomment-779685009, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASXX2MRLE52YIAXK4NNLLFTS7IXETANCNFSM4XU4UCYA .
Hi,
Yes once I realised there was a specific youtude-dl repository I got it working. Thankyou for helping. Im grabbing some videos right now but I just need to work out how to stop it from adding characters to the file name such as...
On Tue, 16 Feb 2021 at 10:17, zdr1976 notifications@github.com wrote:
Just follow the installation instructions here https://github.com/ytdl-org/youtube-dl/blob/master/README.md#installation .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zdr1976/svbd/issues/2#issuecomment-779735068, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASXX2MRJLKLQVWZT4OPGP23S7JAZ7ANCNFSM4XU4UCYA .
In the example above i'm using -o '%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s'
to name the directory and files. So just modify it to your liking.
Perfect!! - thankyou sooo much fore your help ...lifesaver.
On Tue, 16 Feb 2021 at 11:00, zdr1976 notifications@github.com wrote:
In the example above i'm using -o '%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s' to name the directory and files. So just modify it to your liking.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zdr1976/svbd/issues/2#issuecomment-779761180, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASXX2MQTLPWAJSOCF3DRRODS7JF5LANCNFSM4XU4UCYA .
You're welcome.
Hi again
Do you the books downloader too?
I use it but would like to know how I could tweak the .py to prompt for book ID as well as email addy and password.
Any ideas Steve
You can tweak it as much as you want. For argument parsing you can use argparse python module.
I’m literally on day 1 of learning python but I will certainly hit it a go.
Thanks
On Wed, 17 Feb 2021 at 20:40, zdr1976 notifications@github.com wrote:
You can tweak it as much as you want. For argument parsing you can use argparse https://docs.python.org/3.8/library/argparse.html python module.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zdr1976/svbd/issues/2#issuecomment-780838912, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASXX2MX6MFZ5OXCCYMERYZLS7QSSBANCNFSM4XU4UCYA .
I get:
NotADirectoryError: [WinError 267] The directory name is invalid: 'C:\Users\elmo/Videos/SafariBooks/Python for Beginners: Learn Python from Scratch'