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

SafariBooksOnline extractor login error #22165

Closed
pudyumaa123 opened this issue Aug 20, 2019 · 0 comments
Closed

SafariBooksOnline extractor login error #22165

pudyumaa123 opened this issue Aug 20, 2019 · 0 comments
Labels

Comments

@pudyumaa123
Copy link

@pudyumaa123 pudyumaa123 commented Aug 20, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.08.13
  • 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-dl -u <email_id> -p <password> -i -c  --no-warnings --console-title -o '%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s' -f 'best[tbr<=2000]/worst[[height>=720]]/best[[height<=720]]' --verbose --write-sub --embed-subs https://learning.oreilly.com/videos/django-by-example/9781787283664

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-i', u'-c', u'--no-warnings', u'--console-title', u'-o', u'%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s', u'-f', u'best[tbr<=2000]/worst[[height>=720]]/best[[height<=720]]', u'--verbose', u'--write-sub', u'--embed-subs', u'https://learning.oreilly.com/videos/django-by-example/9781787283664']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.08.13
[debug] Python version 2.7.15+ (CPython) - Linux-5.0.0-25-generic-x86_64-with-Zorin-15-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6
[debug] Proxy map: {}
[safari:course] Downloading login page
[safari:course] Logging in
[safari:course] Completing login
ERROR: Unable to log in; 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 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
    self.initialize()
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 433, in initialize
    self._real_initialize()
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/safari.py", line 30, in _real_initialize
    self._login()
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/safari.py", line 82, in _login
    raise ExtractorError('Unable to log in')
ExtractorError: Unable to log in; 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.


Description

The exact command worked just a few days ago. I think the site may have changed in some way.
PS. I'm able to login into the site(learning.oreilly.com) without any issues and can play the videos in the above link without any problem.

@dstftw dstftw closed this Aug 20, 2019
@dstftw dstftw added the duplicate label Aug 20, 2019
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.