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

Problem downloading from learning.oreilly.com #23701

Closed
iss-gal opened this issue Jan 11, 2020 · 0 comments
Closed

Problem downloading from learning.oreilly.com #23701

iss-gal opened this issue Jan 11, 2020 · 0 comments
Labels

Comments

@iss-gal
Copy link

@iss-gal iss-gal commented Jan 11, 2020

Checklist

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

Verbose log

(youtube-dl2) [...]$ python --version
Python 3.6.8
(youtube-dl2) [...] youtube-dl --version
2020.01.01


youtube-dl -v --username xxxxxx@xxxxxxx --password xxxxxxxxxi -o "Oreilly - %(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" "https://www.oreilly.com/library/view/high-availability-for/9781789804256/"  --add-metadata --write-sub --sleep-interval 15 --max-sleep-interval 30 | tee $(date +%Y%m%d-%h:%M).log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--username', 'PRIVATE', '--password', 'PRIVATE', '-o', 'Oreilly - %(playlist)s/%(playlist_index)s - %(title)s.%(ext)s', 'https://www.oreilly.com/library/view/high-availability-for/9781789804256/', '--add-metadata', '--write-sub', '--sleep-interval', '15', '--max-sleep-interval', '30']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.01.01
[debug] Python version 3.6.8 (CPython) - Linux-5.0.0-37-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 12, rtmpdump 2.4
[debug] Proxy map: {}
[safari:course] Downloading login page
[safari:course] Logging in
[safari:course] Completing login
[safari:course] 9781789804256: Downloading course JSON
[download] Downloading playlist: High Availability for the LAMP Stack, Step-by-Step
[safari:course] playlist High Availability for the LAMP Stack, Step-by-Step: Collected 22 video ids (downloading 22 of them)
[download] Downloading video 1 of 22
[safari:api] Downloading login page
[safari:api] 9781789804256/video1_1: Downloading part JSON
[safari] Downloading login page
[safari] 9781789804256-video1_1: Downloading webpage
[safari] 9781789804256-video1_1: Downloading kaltura session JSON
WARNING: [safari] 9781789804256-video1_1: Failed to parse JSON Expecting value: line 5 column 1 (char 4)
[Kaltura] 9781789804256-video1_1: Downloading webpage
[Kaltura] 0_jkuh5b2w: Downloading video info JSON
[Kaltura] 0_jkuh5b2w: Checking mp4-445 URL
[Kaltura] 0_jkuh5b2w: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'http://cdnapi.kaltura.com/p/1926081/sp/192608100/playManifest/entryId/0_jkuh5b2w/format/url/protocol/http/flavorId/0_rrpma11l'
[download] Oreilly - High Availability for the LAMP Stack, Step-by-Step/01 - Introduction.mp4 has already been downloaded
[download] 100% of 3.12MiB
[ffmpeg] Adding metadata to 'Oreilly - High Availability for the LAMP Stack, Step-by-Step/01 - Introduction.mp4'
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Oreilly - High Availability for the LAMP Stack, Step-by-Step/01 - Introduction.mp4' -c copy -metadata title=Introduction -metadata date=20180927 -metadata 'purl=https://cdnapisec.kaltura.com/html5/html5lib/v2.37.1/mwEmbedFrame.php?wid=_1926081&uiconf_id=29375172&flashvars%5BreferenceId%5D=9781789804256-video1_1' -metadata artist=stork 'file:Oreilly - High Availability for the LAMP Stack, Step-by-Step/01 - Introduction.temp.mp4'
[download] Downloading video 2 of 22
[safari:api] 9781789804256/video1_2: Downloading part JSON

Description

Hi,
This is a strange problem. All the videos are downloaded fine but all of them have the same length, 1 minute, so part of the video is missing. The only visible error is the JSON warning included with the logs.
I have watched several videos online on this course and they played fine, i.e. the full length.

@dstftw dstftw closed this Jan 11, 2020
@dstftw dstftw added the duplicate label Jan 11, 2020
@ytdl-org ytdl-org deleted a comment from valdrinium Jan 14, 2020
@ytdl-org ytdl-org locked and limited conversation to collaborators Jan 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.