Skip to content
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

[linkedin:learning] template chapter's id/number broken #19162

Closed
MBryde opened this issue Feb 7, 2019 · 11 comments
Closed

[linkedin:learning] template chapter's id/number broken #19162

MBryde opened this issue Feb 7, 2019 · 11 comments

Comments

@MBryde
Copy link

@MBryde MBryde commented Feb 7, 2019

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.01.30.1. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2019.01.30.1

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

youtube-dl --proxy XXXXXXXX:XXXXXXXX@VPN.com:80 \
--username XXXXXXXX --password XXXXXXXX \
-f 'bestvideo[height<=720]+bestaudio/best[height<=720]' \
-o "%(playlist_title)s/Lesson %(chapter_number)s / %(chapter_id)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" --add-metadata --write-sub --limit-rate 2M --min-sleep-interval 5 --max-sleep-interval 10 \
"https://www.linkedin.com/learning/photoshop-cc-2018-essential-training-the-basics" -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--proxy', u'XXXXXXXX:XXXXXXXX@VPN.com:80', u'--username', u'PRIVATE', u'--password', u'PRIVATE', u'-f', u'bestvideo[height<=720]+bestaudio/best[height<=720]', u'-o', u'%(playlist_title)s/Lesson %(chapter_number)s / %(chapter_id)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s', u'--add-metadata', u'--write-sub', u'--limit-rate', u'2M', u'--min-sleep-interval', u'5', u'--max-sleep-interval', u'10', u'https://www.linkedin.com/learning/photoshop-cc-2018-essential-training-the-basics', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.01.30.1
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.18.6-041806-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4, ffprobe 3.4.4
[debug] Proxy map: {u'http': u'XXXXXXXX:XXXXXXXX@VPN.com:80', u'https': u'XXXXXXXX:XXXXXXXX@VPN.com:80'}
[linkedin:learning:course] Downloading login page
[linkedin:learning:course] Logging in
[linkedin:learning:course] Downloading JSON metadata
[download] Downloading playlist: Photoshop CC 2018 Essential Training: The Basics
[linkedin:learning:course] playlist Photoshop CC 2018 Essential Training: The Basics: Collected 63 video ids (downloading 63 of them)
[download] Downloading video 1 of 63
[linkedin:learning] Downloading login page
[linkedin:learning] Logging in
[linkedin:learning] welcome: Downloading 360p JSON metadata
[linkedin:learning] welcome: Downloading 540p JSON metadata
[linkedin:learning] welcome: Downloading 720p JSON metadata
[linkedin:learning] welcome: Downloading m3u8 information
[debug] Invoking downloader on u'https://files3.lynda.com/secure/courses/625922/VBR_MP4h264_main_HD720/625922_00_01_WX30_welPSE.mp4?5Pe0ZAUYbIOU5NpJh0BFBTMudP8_1kbG4X-jHWHK-RxaIB1h8dqZnNZMOWzHxg9n4rD5KRpaM6lbV-r8z5YGst3FqT0bZ3iKutuaLhNzEk3wH5YFm5I-a4DzlefuVj-PM-e3KMPklDNS1jV_GIi1IVb-gPLkyflZStbr6OyAjyXaFPXYpjkXYw'
[download] Sleeping 9.38 seconds...
[download] Destination: Photoshop CC 2018 Essential Training - The Basics/Lesson NA / NA - Introduction/01 - Welcome.mp4
[download]  53.7% of 7.45MiB at  3.85MiB/s ETA 00:00

Description of your issue, suggested solution and other information

This template used to rip lynda.com courses worked fine. But after migrating to linkedin:learning, non of the chapter_id or chapter_number are working anymore the all just end up as NA. As you can se in the [download] Destination at the end of the debug log.

@MBryde MBryde changed the title linkedin:learning template (chapter's) [linkedin:learning] template chapter's id/number Feb 7, 2019
@MBryde MBryde changed the title [linkedin:learning] template chapter's id/number [linkedin:learning] template chapter's id/number broken Feb 7, 2019
@alexvong1995
Copy link
Contributor

@alexvong1995 alexvong1995 commented Feb 7, 2019

Please provide the required username and password, otherwise it is impossible
to download the above playlist.

@remitamine remitamine closed this in 91effe2 Feb 8, 2019
@MBryde
Copy link
Author

@MBryde MBryde commented Feb 8, 2019

Nice troll @alexvong1995 - like I want my personal password for my vpn and linkedin account for everyone to scrape and use.

@MBryde
Copy link
Author

@MBryde MBryde commented Feb 8, 2019

Regarding @remitamine - the commit on 91effe2 don't seemed to have fixed it for me. Still returns with NA

  • [ffmpeg] Adding metadata to 'Photoshop CC 2018 Essential Training - The Basics/Lesson NA / NA - Introduction/01 - Welcome.mp4'
@alexvong1995
Copy link
Contributor

@alexvong1995 alexvong1995 commented Feb 8, 2019

@alexvong1995
Copy link
Contributor

@alexvong1995 alexvong1995 commented Feb 8, 2019

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Feb 8, 2019

it does work:

[linkedin:learning:course] Downloading JSON metadata
[download] Downloading playlist: Photoshop CC 2018 Essential Training: The Basics
[linkedin:learning:course] playlist Photoshop CC 2018 Essential Training: The Basics: Collected 63 video ids (downloading 63 of them)
[download] Downloading video 1 of 63
[linkedin:learning] welcome: Downloading 360p JSON metadata
[linkedin:learning] welcome: Downloading 540p JSON metadata
[linkedin:learning] welcome: Downloading 720p JSON metadata
[linkedin:learning] welcome: Downloading m3u8 information
[download] Destination: Photoshop CC 2018 Essential Training - The Basics/Lesson 1/671386 - Introduction/01 - Welcome.mp4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  5 7627k    5  399k    0     0   291k      0  0:00:26  0:00:01  0:00:25  291k
@MBryde
Copy link
Author

@MBryde MBryde commented Feb 8, 2019

@remitamine could you please provide the template you used? I can't get chapter_number or chapter_id working still. And I did try to update first but I still get NA on both for some reason.

and that still with the same template. With both number and id - -o "%(playlist_title)s/Lesson %(chapter_id)s / %(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s"

[linkedin:learning:course] playlist Photoshop CC 2018 Essential Training: The Basics: Collected 63 video ids (downloading 63 of them)
[download] Downloading video 1 of 63
[linkedin:learning] Downloading login page
[linkedin:learning] Logging in
[linkedin:learning] welcome: Downloading 360p JSON metadata
[linkedin:learning] welcome: Downloading 540p JSON metadata
[linkedin:learning] welcome: Downloading 720p JSON metadata
[linkedin:learning] welcome: Downloading m3u8 information
[download] Sleeping 7.87 seconds...
[download] Destination: Photoshop CC 2018 Essential Training - The Basics/Lesson NA / NA - Introduction/01 - Welcome.mp4
[download]  53.7% of 7.45MiB at  3.82MiB/s ETA 00:00
@remitamine
Copy link
Collaborator

@remitamine remitamine commented Feb 8, 2019

it's not released yet, wait for next release.

@MBryde
Copy link
Author

@MBryde MBryde commented Feb 8, 2019

Ah alright. That makes sense then. Didn't check, that their was no new release. My bad :D

@alexvong1995
Copy link
Contributor

@alexvong1995 alexvong1995 commented Feb 8, 2019

@nara20
Copy link

@nara20 nara20 commented Mar 21, 2019

Hi,

I think there is a new issue with [linkedin:learning] :
#20431

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.