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 video extractor is broken #21124

Closed
grepmeister opened this issue May 16, 2019 · 0 comments
Closed

safari video extractor is broken #21124

grepmeister opened this issue May 16, 2019 · 0 comments
Labels

Comments

@grepmeister
Copy link

@grepmeister grepmeister commented May 16, 2019

I believe that the safari extractor is broken.

youtube-dl --debug ...

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'--playlist-start', u'1', u'--autonumber-start', u'1', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-o', u'%(autonumber)s - %(title)s.%(ext)s', u'-i', u'https://learning.oreilly.com/videos/red-hat-openshift/9780135767436/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.05.11
[debug] Python version 2.7.13 (CPython) - Linux-4.9.0-8-amd64-x86_64-with-debian-9.9
[debug] exe versions: ffmpeg N-86980-g62b7553, ffprobe N-86980-g62b7553, rtmpdump 2.4
[debug] Proxy map: {}
[safari:course] Downloading login form
ERROR: Unable to extract csrf token; 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 "/second/jog/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/second/jog/bin/youtube-dl/youtube_dl/extractor/common.py", line 528, in extract
self.initialize()
File "/second/jog/bin/youtube-dl/youtube_dl/extractor/common.py", line 432, in initialize
self._real_initialize()
File "/second/jog/bin/youtube-dl/youtube_dl/extractor/safari.py", line 27, in _real_initialize
self._login()
File "/second/jog/bin/youtube-dl/youtube_dl/extractor/safari.py", line 51, in _login
login_page, 'csrf token')
File "/second/jog/bin/youtube-dl/youtube_dl/extractor/common.py", line 1013, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags, group)
File "/second/jog/bin/youtube-dl/youtube_dl/extractor/common.py", line 1004, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract csrf token; 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 dstftw closed this May 16, 2019
@dstftw dstftw added the duplicate label May 16, 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.