Hello I am having trouble understanding how to use this command.
youtube-dl --cookies cookies.txt -o \
"./%(chapter_number)s-%(chapter)s/%(autonumber)03d-%(title)s.%(ext)s" \
<URL-of-the-course-platform>/courses/enrolled/<some-number>
I assume I have to replace cookies.txt with the file that I have? Also, I don't understand the second line of code. Do I have to do anything to it?
Also, I am using yt-dlp so I figure all I have to do is replace the youtube-dl.
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 19 of 19
-
-
1) why use yt-dl and not yt-dlp? second app have more addons and is more recent. it's an evolution of the previous one
2) if you have your browser installed on default path simply use --cookies-from-browser firefox (or chrome)
use --cookies cookies.txt only if you have a portable browser version (like me)
but your cookie.txt what's in it? how did you place cookies from your site? need one extension, export cookie, paste into new txt and save it -
@lomero,
cokies can be captuired with extension , rigth, but also can be extracted from dev-mode, network ( f12).
In mine personal case i fpound this necesary! -
cookie they are not on dev tool, but in the browser cache
go on setting and search "cookie" or simply paste this on your address bar
Code:chrome://settings/content/all?search=cookie
-
I do have yt-dlp sorry for the mix up. I got the cookies from a site via an extension. Also when I tried yt-dlp --cookies-from-browser firefox "url" I got Lecture contents locked. Use --cookies, --cookies-from-browser, --username and --password, or --netrc (teachable) to provide account credentials
How do I go forward? I tried typing this in my terminal -cookies, --cookies-from-chrome, (--username and --password) from the site I want to download from. I don't know how to fill in the information correctly in the terminal. If it requires a key then I won't bother. -
Code:
yt-dlp -u YOURUSERNAME -p YOURPASSWORD --cookies-from-browser firefox "url"
-
-
Ok so I posted everything in the terminal and I am getting "[Teachable] 3946609: Unable to find video URL; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U" This is what I typed in the terminal
yt-dlp --cookies /Users/davesamuels/Downloads/teachable.com_cookies.txt -u username -p password --cookies-from-browser chrome "https://codingphase.teachable.com/courses/learn-advance-css-with-flexbox-and-css-grid-course/lectures/3946609". I put my real username and password in the code of course. Also opened the terminal where the cookies.txt file was located.Last edited by Takyon; 16th Jun 2022 at 15:34.
-
1) rename your cookie txt file on simple cookies.txt and put this file on same folder with yt-dlp
2) you have used 2 times cookie
--cookies /Users/...... and --cookies-from-browser chrome
use only one: from browser or from txt
3) dont put video link but mpd link. yt-dlp work only with few site. otherwise use mpd link
4) add on the and output filename -o video.mp4
5) sometime ffmpeg help for some stream. put on same folder with yt-dlp -
Last edited by Takyon; 16th Jun 2022 at 16:55.
-
-
Hi guys only go to me from today cookie browser not in discovery or anywhere showing this message could you help me
[Attachment 71583 - Click to enlarge] -
Similar Threads
-
How do I add cookies to my header?
By nammin in forum Video Streaming DownloadingReplies: 19Last Post: 28th Jul 2023, 19:57 -
Relation of bitrate ,preset ,1 pass and 2 pass explain anyone?
By Anonymous543 in forum Newbie / General discussionsReplies: 9Last Post: 5th Feb 2022, 07:40 -
2-pass AVC H.264 encoding = 5% bitrate improvement over 1-pass?
By pxstein in forum Video ConversionReplies: 7Last Post: 25th Jan 2022, 10:34 -
youtube-dl syntax help to pass cookies
By xyzo in forum Video Streaming DownloadingReplies: 7Last Post: 1st Mar 2021, 21:14 -
Staxrip 1st pass x265 2nd pass Nvenc is it possible?
By dennisbgi7 in forum Video ConversionReplies: 6Last Post: 7th Jan 2021, 13:41