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

Issue with Patreon extraction KeyError('embed',) #22511

Closed
m238 opened this issue Sep 25, 2019 · 2 comments
Closed

Issue with Patreon extraction KeyError('embed',) #22511

m238 opened this issue Sep 25, 2019 · 2 comments

Comments

@m238
Copy link

@m238 m238 commented Sep 25, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.09.12.1
  • I've checked that all provided URLs are alive and playable in a browser
  • I've searched the bugtracker for similar bug reports
  • I've read bugs section in FAQ

Verbose Log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.patreon.com/posts/maya-retiming-2199632
6', '--username', 'PRIVATE', '--password', 'PRIVATE', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.09.12.1
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1
[debug] Proxy map: {}
[Patreon] 21996326: Downloading JSON metadata
ERROR: An extractor error has occurred. (caused by KeyError('embed',)); please r
eport this issue on https://yt-dl.org/bug . Make sure you are using the latest v
ersion; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --ve
rbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmphopugs
4t\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmphopugs
4t\build\youtube_dl\extractor\patreon.py", line 133, in _real_extract
KeyError: 'embed'
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmphopugs
4t\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmphopugs
4t\build\youtube_dl\extractor\patreon.py", line 133, in _real_extract
KeyError: 'embed'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmphopugs
4t\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmphopugs
4t\build\youtube_dl\extractor\common.py", line 543, in extract
youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by Key
Error('embed',)); please
...
<end of log>

Description

I'm attempting to extract a Vimeo embed from a user restricted Patreon page but it's returning an extractor error caused by KeyError('embed',). I've ommited the initial command as it contained usernames and passwords.

@m238 m238 changed the title Issue with patreon extraction Issue with Patreon extraction KeyError('embed',) Sep 25, 2019
@remitamine
Copy link
Collaborator

@remitamine remitamine commented Sep 26, 2019

try to use cookies.

@dezza
Copy link

@dezza dezza commented Jan 30, 2020

I think the issue is that post_file is no longer valid, it seems that some javascript changes a video playback button into a embedded video.

Whether youtube-dl can activate a click event like that I don't suppose, but I might be surprised?

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