-
Notifications
You must be signed in to change notification settings - Fork 1
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
Invalid output dir #2
Comments
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 ***@***.***> 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
<#2 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASXX2MQR5KVOLOHLWFAUE3DS7ITSXANCNFSM4XU4UCYA>
.
|
So here you are example how to download via youtube-dl -u [email protected] -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 ***@***.***> wrote:
So here you are example how to download via youtube-dl
youtube-dl -u ***@***.*** -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
<#2 (comment)>, 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 ***@***.***> wrote:
So here you are example how to download via youtube-dl
youtube-dl -u ***@***.*** -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
<#2 (comment)>, 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 ***@***.***> wrote:
So here you are example how to download via youtube-dl
youtube-dl -u ***@***.*** -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
<#2 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASXX2MWWZ3TVRGU3XKJX6C3S7IVEPANCNFSM4XU4UCYA>
.
|
|
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 ***@***.***> 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
<#2 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASXX2MRLE52YIAXK4NNLLFTS7IXETANCNFSM4XU4UCYA>
.
|
Just follow the installation instructions here. |
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...
1. Lesson 1 - Getting Started with IPv4 Addresses*-0_cs1sxl8j*.mp4
(where "-0_cs1sxl8j" has been added)
…On Tue, 16 Feb 2021 at 10:17, zdr1976 ***@***.***> 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
<#2 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASXX2MRJLKLQVWZT4OPGP23S7JAZ7ANCNFSM4XU4UCYA>
.
|
In the example above i'm using |
Perfect!! - thankyou sooo much fore your help ...lifesaver.
…On Tue, 16 Feb 2021 at 11:00, zdr1976 ***@***.***> 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
<#2 (comment)>, 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 |
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 ***@***.***> 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
<#2 (comment)>, 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'
The text was updated successfully, but these errors were encountered: