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

Unable to download videos from www.safaribooksonline.com #16614

Closed
hlombroso opened this issue Jun 2, 2018 · 3 comments
Closed

Unable to download videos from www.safaribooksonline.com #16614

hlombroso opened this issue Jun 2, 2018 · 3 comments
Labels

Comments

@hlombroso
Copy link

@hlombroso hlombroso commented Jun 2, 2018

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 2018.06.02. 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 2018.06.02

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 ```):

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'--verbose', u'--write-sub', u'--newline', u'https://www.safaribooksonline.com/videos/python-programming-language/9780134217314/9780134217314-PYMC_13_00']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.06.02
[debug] Python version 2.7.10 (CPython) - Darwin-17.5.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[generic] 9780134217314-PYMC_13_00: Requesting header
[redirect] Following redirect to https://www.safaribooksonline.com/library/view/python-programming-language/9780134217314/PYMC_13_00.html
[safari] Downloading login form
[safari] Logging in
[safari] 9780134217314/PYMC_13_00: Downloading webpage
ERROR: Unable to extract kaltura reference id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 500, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/safari.py", line 106, in _real_extract
    webpage, 'kaltura reference id', group='id')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 880, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract kaltura reference id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
<end of log>

@LingarajVB
Copy link

@LingarajVB LingarajVB commented Jun 2, 2018

image

Unable to download videos from safari anymore due to content/feature change on the website.

image

@dstftw dstftw closed this in 003fe73 Jun 2, 2018
@dstftw dstftw added the fixed label Jun 2, 2018
@hyber-code
Copy link

@hyber-code hyber-code commented Jun 2, 2018

(python3) d:\Y> youtube-dl -v --username xxx --password xxx --write-sub --convert-subs srt -o "%(playlist)s\%(playlist_index)s - %(title)s.%(ext)s" "https://www.safaribooksonline.com/videos/git-essentials-livelessons/9780134655284"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--username', 'PRIVATE', '--password', 'PRIVATE', '--write-sub', '--convert-subs', 'srt', '-o', '%(playlist)s\\%(playlist_index)s - %(title)s.%(ext)s', 'https://www.safaribooksonline.com/videos/git-essentials-livelessons/9780134655284']
[debug] Encodings: locale cp1256, fs mbcs, out cp1256, pref cp1256
[debug] youtube-dl version 2018.06.02
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: ffmpeg N-91152-g7c333dc6a7, ffprobe N-91152-g7c333dc6a7
[debug] Proxy map: {}
[generic] 9780134655284: Requesting header
[redirect] Following redirect to https://www.safaribooksonline.com/library/view/git-essentials-livelessons/9780134655284/
[safari:course] Downloading login form
[safari:course] Logging in
[safari:course] 9780134655284: Downloading course JSON
[download] Downloading playlist: Git Essentials LiveLessons
[safari:course] playlist Git Essentials LiveLessons: Collected 37 video ids (downloading 37 of them)
[download] Downloading video 1 of 37
[safari:api] Downloading login form
[safari:api] 9780134655284/gell_00_00: Downloading part JSON
[safari] Downloading login form
[safari] 9780134655284/gell_00_00: Downloading webpage
ERROR: Unable to extract kaltura reference id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp2pwxs9zy\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp2pwxs9zy\build\youtube_dl\extractor\common.py", line 500, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp2pwxs9zy\build\youtube_dl\extractor\safari.py", line 106, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp2pwxs9zy\build\youtube_dl\extractor\common.py", line 880, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract kaltura reference id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 2, 2018

It's not released.

@ytdl-org ytdl-org locked as resolved and limited conversation to collaborators Jun 2, 2018
@ytdl-org ytdl-org deleted a comment from hyber-code Jun 2, 2018
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
4 participants
You can’t perform that action at this time.