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

[safari] still some video courses only download one minute videos #23964

Closed
OllieRobinson opened this issue Feb 5, 2020 · 2 comments
Closed

[safari] still some video courses only download one minute videos #23964

OllieRobinson opened this issue Feb 5, 2020 · 2 comments
Labels

Comments

@OllieRobinson
Copy link

@OllieRobinson OllieRobinson commented Feb 5, 2020

Checklist

  • [X ] I'm reporting a broken site support
  • [X ] I've verified that I'm running youtube-dl version 2020.01.24
  • [ X] I've checked that all provided URLs are alive and playable in a browser
  • [ X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • [X ] I've searched the bugtracker for similar issues including closed ones

Verbose log

https://learning.oreilly.com/videos/python-fundamentals/9780135917411 **(Only one minute videos)**

[debug] System config: []
[debug] User config: ['--cookies', 'cookies.txt', '-i', '-c', '--no-warnings', '--console-title', '-v', '-o', '%(playlist_title)s/%(playlist_index)s - %(title)s.%(ext)s', '-f', 'best', '--all-subs', '--convert-subs', 'srt', 'https://learning.oreilly.com/videos/python-fundamentals/9780135917411']
[debug] Custom config: []
[debug] Command-line args: ['-U']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.01.24
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg git-2019-11-26-59d264b
[debug] Proxy map: {}
youtube-dl is up-to-date (2020.01.24)
[safari:course] 9780135917411: Downloading course JSON
[download] Downloading playlist: Python Fundamentals
[safari:course] playlist Python Fundamentals: Collected 532 video ids (downloading 532 of them)
[download] Downloading video 1 of 532
[safari:api] 9780135917411/PFLL_Part1_Intro: Downloading part JSON
[safari] 9780135917411-PFLL_Part1_Intro: Downloading webpage
[Kaltura] 9780135917411-PFLL_Part1_Intro: Downloading webpage
[Kaltura] 0_6mbyl4ym: Downloading video info JSON
[Kaltura] 0_6mbyl4ym: Checking mp4-892 URL
[Kaltura] 0_6mbyl4ym: Downloading m3u8 information
[debug] Invoking downloader on 'http://cdnapi.kaltura.com/p/1926081/sp/192608100/playManifest/entryId/0_6mbyl4ym/format/url/protocol/http/flavorId/0_bw71jyr0'
[download] Destination: Python Fundamentals\001 - Introduction to Python Fundamentals - Part 1.mp4
[download] 100% of 5.76MiB in 00:02
[ffmpeg] There aren't any subtitles to convert
[download] Downloading video 2 of 532
[safari:api] 9780135917411/PFLL_BYB_00: Downloading part JSON
[safari] 9780135917411-PFLL_BYB_00: Downloading webpage
[Kaltura] 9780135917411-PFLL_BYB_00: Downloading webpage
[Kaltura] 0_yecbg5lm: Downloading video info JSON
[Kaltura] 0_yecbg5lm: Checking mp4-647 URL
[Kaltura] 0_yecbg5lm: Downloading m3u8 information
[info] Writing video subtitles to: Python Fundamentals\002 - Lesson overview.en.dfxp
[debug] Invoking downloader on 'http://cdnapi.kaltura.com/p/1926081/sp/192608100/playManifest/entryId/0_yecbg5lm/format/url/protocol/http/flavorId/0_i3ugidhf'
[download] Destination: Python Fundamentals\002 - Lesson overview.mp4
[download] 100% of 4.02MiB in 00:02
[ffmpeg] Converting subtitles
Deleting original file Python Fundamentals\002 - Lesson overview.en.dfxp (pass -k to keep)


https://learning.oreilly.com/videos/clean-code/9780134661742 **(WORKING)**

[debug] System config: []
[debug] User config: ['--cookies', 'cookies.txt', '-i', '-c', '--no-warnings', '--console-title', '-v', '-o', '%(playlist_title)s/%(playlist_index)s - %(title)s.%(ext)s', '-f', 'best', '--all-subs', '--convert-subs', 'srt', 'https://learning.oreilly.com/videos/clean-code/9780134661742']
[debug] Custom config: []
[debug] Command-line args: []
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.01.24
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg git-2019-11-26-59d264b
[debug] Proxy map: {}
[safari:course] 9780134661742: Downloading course JSON
[download] Downloading playlist: Clean Code
[safari:course] playlist Clean Code: Collected 41 video ids (downloading 41 of them)
[download] Downloading video 1 of 41
[safari:api] 9780134661742/CODE_01_00_00: Downloading part JSON
[safari] 9780134661742-CODE_01_00_00: Downloading webpage
[Kaltura] 9780134661742-CODE_01_00_00: Downloading webpage
[Kaltura] 0_07xpac90: Downloading video info JSON
[Kaltura] 0_07xpac90: Checking mp4-9128 URL
[Kaltura] 0_07xpac90: Downloading m3u8 information
[info] Writing video subtitles to: Clean Code\01 - Introduction.en.dfxp
[debug] Invoking downloader on 'http://cdnapi.kaltura.com/p/1926081/sp/192608100/playManifest/entryId/0_07xpac90/format/url/protocol/http/flavorId/0_i7z65dyz'
[download] Destination: Clean Code\01 - Introduction.mp4
[download] 100% of 52.02MiB in 00:17
[ffmpeg] Converting subtitles
Deleting original file Clean Code\01 - Introduction.en.dfxp (pass -k to keep)
[download] Downloading video 2 of 41
[safari:api] 9780134661742/CODE_01_01_00: Downloading part JSON
[safari] 9780134661742-CODE_01_01_00: Downloading webpage
[Kaltura] 9780134661742-CODE_01_01_00: Downloading webpage
[Kaltura] 0_23ciklrk: Downloading video info JSON
[Kaltura] 0_23ciklrk: Downloading m3u8 information
[info] Writing video subtitles to: Clean Code\02 - Clean Code (Remake).en.dfxp
[debug] Invoking downloader on 'http://cdnapi.kaltura.com/p/1926081/sp/192608100/playManifest/entryId/0_23ciklrk/format/url/protocol/http/flavorId/0_2jhmoqyr'
[download] Destination: Clean Code\02 - Clean Code (Remake).mp4
[download] 100% of 28.45MiB in 00:09
[ffmpeg] Converting subtitles
Deleting original file Clean Code\02 - Clean Code (Remake).en.dfxp (pass -k to keep)
[download] Downloading video 3 of 41
[safari:api] 9780134661742/CODE_01_02_00: Downloading part JSON
[safari] 9780134661742-CODE_01_02_00: Downloading webpage
[Kaltura] 9780134661742-CODE_01_02_00: Downloading webpage
[Kaltura] 0_vwa97wgx: Downloading video info JSON
[Kaltura] 0_vwa97wgx: Checking mp4-3660 URL
[Kaltura] 0_vwa97wgx: Downloading m3u8 information
[info] Writing video subtitles to: Clean Code\03 - Names++.en.dfxp
[debug] Invoking downloader on 'http://cdnapi.kaltura.com/p/1926081/sp/192608100/playManifest/entryId/0_vwa97wgx/format/url/protocol/http/flavorId/0_r2gea0x9'
[download] Destination: Clean Code\03 - Names++.mp4
[download] 100% of 28.23MiB in 00:09
[ffmpeg] Converting subtitles
Deleting original file Clean Code\03 - Names++.en.dfxp (pass -k to keep)

I understand there was a fix recently to the safari extractor with changes to the way the kaltura session is handled. This seems to have fixed the problem for some videos but not for others.

I have included debug output above for a working video course and one that isn't. I don't know if useful at all but using chrome developer tools I have logged the network for each of the courses for one video and exported as a HAR file, please see attached google drive link.

https://drive.google.com/open?id=1IdbuuAWZhNPx55wwc6mKyRvqKtSgsvyr

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 5, 2020

You must use credentials.

@dstftw dstftw closed this Feb 5, 2020
@dstftw dstftw added the invalid label Feb 5, 2020
@OllieRobinson
Copy link
Author

@OllieRobinson OllieRobinson commented Feb 5, 2020

You must use credentials.

I have tried with credentials with the same result. I will try again just to double confirm though

EDIT: Well i'll be damned it's somehow working now. Apologies for the invalid issue.

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
2 participants
You can’t perform that action at this time.