ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132k stars 10.01k forks source link

[lynda] Add support for playlists #6203

Open micyew opened 9 years ago

micyew commented 9 years ago

hi,

Can I know how do I download the whole course from Lynda. I try to create a playlist and download that playlist but fail......

Note: I can download individual video...But how do I do that with playlist/whole course?

C:\Python34\Scripts>youtube-dl http://www.lynda.com/MyPlaylists?playlistId=5180308 --username xxxx --password xxxxx [generic] MyPlaylists?playlistId=5180308: Requesting header [redirect] Following redirect to https://www.lynda.com/login/Login.aspx?redirectTo=MyPlaylists%3fplaylistId%3d5180308 [generic] Login: Requesting header WARNING: Falling back on generic information extractor. [generic] Login: Downloading webpage [generic] Login: Extracting information ERROR: Unsupported URL: https://www.lynda.com/login/Login.aspx?redirectTo=MyPlaylists%3fplaylistId%3d5180308

dstftw commented 9 years ago

Playlists are not supported currently, use the full URL of course: youtube-dl -u user -p pass http://www.lynda.com/Bootstrap-tutorials/Up-Running-Bootstrap-3/133339-2.html.

Choochoo commented 7 years ago

Google Chrome -> go to a course -> right click on page -> inspect -> inside the console paste this, hit enter. It will copy all links to your clip board for a batch file. Hope it helps. var output = ""; $.each($("a.item-name"), function(index,item){output += "\n" + $(item).attr("href");}); var copyFrom = $('<textarea/>'); copyFrom.css({ position: "absolute", left: "-1000px", top: "-1000px", }); copyFrom.text(output); $('body').append(copyFrom); copyFrom.select(); document.execCommand('copy');

Mirage2242 commented 7 years ago

Had this same issue. Wanted to download entire playlists from Lynda.com without too much work. Worked around it by watching a second or two of a course in a playlist so that it moves over to your Course History. This history uses the actual course url rather than the playlist autoplay url. Which means that you can mass grab the links to all of the courses in your history using a tool like the Link Klipper add-on for Chrome. It has a mouse drag selection to specify which links to copy from the Course History page. Download as .txt and you have a playlist ready for a batch file.

You will probably find some other tool to grab those links if you need to.