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

ERROR: An extractor error has occurred. (caused by KeyError(u'flavorAssets',)); #10617

Closed
secupath opened this issue Sep 11, 2016 · 7 comments
Closed

Comments

@secupath
Copy link

@secupath secupath commented Sep 11, 2016

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 that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.09.08. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • [ X] I've verified and I assure that I'm running youtube-dl 2016.09.08

Before submitting an issue make sure you have:

  • [X ] At least skimmed through README and most notably FAQ and BUGS sections
  • [ X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • [ X] 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 -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

youtube-dl -u **REMOVED** -p **REMOVED** --playlist-start 361 -v https://www.safaribooksonline.com/library/view/android-6-app/9780134402017/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'--playlist-start', u'361', u'-v', u'https://www.safaribooksonline.com/library/view/android-6-app/9780134402017/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.09.08
[debug] Python version 2.7.6 - Linux-4.4.0-31-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: ffmpeg N-81609-g7b3bc36-static
[debug] Proxy map: {}
[safari:course] Downloading login form
[safari:course] Logging in as **REMOVED**
[safari:course] Login successful
[safari:course] 9780134402017: Downloading course JSON
[download] Downloading playlist: Android 6 App Development Fundamentals I and II
[safari:course] playlist Android 6 App Development Fundamentals I and II: Collected 366 video ids (downloading 6 of them)
[download] Downloading video 1 of 6
[safari:api] 9780134402017/part360: Downloading part JSON
[safari] 9780134402017/part360: Downloading webpage
[safari] 9780134402017/part360: Downloading kaltura session JSON
WARNING: Unable to download kaltura session JSON: HTTP Error 401: UNAUTHORIZED
[Kaltura] " data-partner-id=: Downloading webpage
ERROR: An extractor error has occurred. (caused by KeyError(u'flavorAssets',)); 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/extractor/common.py", line 347, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/kaltura.py", line 224, in _real_extract
    info, flavor_assets = entry_data['meta'], entry_data['contextData']['flavorAssets']
KeyError: u'flavorAssets'
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 691, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 353, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'flavorAssets',)); 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>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue required an account credentials please provide them or explain how one can obtain them.

@secupath secupath closed this Sep 11, 2016
@secupath secupath reopened this Sep 11, 2016
@brennebeck
Copy link

@brennebeck brennebeck commented Sep 12, 2016

Hi,

I'm having the same issue as well. It seems something has happened with the kaltura downloader?

See gist with -v output.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 12, 2016

@brennebeck completely different issue. Use another format for download - they now serve some unavailable formats.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 12, 2016

@secupath this video is not available in browser either https://www.safaribooksonline.com/library/view/android-6-app/9780134402017/part360.html. Thus it's safaribooks serving broken links in this playlist.

@dstftw dstftw closed this Sep 12, 2016
dstftw added a commit that referenced this issue Sep 12, 2016
@brennebeck
Copy link

@brennebeck brennebeck commented Sep 14, 2016

@dstftw what do you mean use a different format? I don't know of any way to change the format of safari videos?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 14, 2016

@vincentHub-coder
Copy link

@vincentHub-coder vincentHub-coder commented Aug 16, 2020

hi @dstftw I'm having this issue as well gist .

Thanks! :)

@joeygeo
Copy link

@joeygeo joeygeo commented Sep 19, 2020

The solution is to simply ignore those errors, and let it continue.

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