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

Handle multiple node objects in JSON-LD (was: Generic Extractor: AttributeError: 'list' object has no attribute 'get') #10203

Closed
canavan opened this issue Jul 31, 2016 · 1 comment
Labels
bug

Comments

@canavan
Copy link

@canavan canavan commented Jul 31, 2016

  • I've verified and I assure that I'm running youtube-dl 2016.07.30
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

- [X] Bug report (encountered problems with youtube-dl)

youtube-dl --verbose https://rumble.com/v31a0x-19-people-who-should-stay-away-from-power-tools.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://rumble.com/v31a0x-19-people-who-should-stay-away-from-power-tools.html']
[debug] Encodings: locale ISO8859-1, fs ISO8859-1, out ISO8859-1, pref ISO8859-1
[debug] youtube-dl version 2016.07.30
[debug] Python version 2.7.12 - IRIX64-6.5-IP35-mips-n32bit-ELF
[debug] exe versions: ffmpeg UNKNOWN, ffprobe UNKNOWN, rtmpdump 2.2b
[debug] Proxy map: {}
[generic] v31a0x-19-people-who-should-stay-away-from-power-tools: Requesting header
WARNING: Falling back on generic information extractor.
[generic] v31a0x-19-people-who-should-stay-away-from-power-tools: Downloading webpage
[generic] v31a0x-19-people-who-should-stay-away-from-power-tools: Extracting information
Traceback (most recent call last):
File "/usr/nekoware/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/nekoware/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/nekoware/bin/youtube-dl/main.py", line 19, in
File "/usr/nekoware/bin/youtube-dl/youtube_dl/init.py", line 422, in main
File "/usr/nekoware/bin/youtube-dl/youtube_dl/init.py", line 412, in _real_main
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1775, in download
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 682, in extract_info
File "/usr/nekoware/bin/youtube-dl/youtube_dl/extractor/common.py", line 347, in extract
File "/usr/nekoware/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2236, in _real_extract
File "/usr/nekoware/bin/youtube-dl/youtube_dl/extractor/common.py", line 818, in _search_json_ld
File "/usr/nekoware/bin/youtube-dl/youtube_dl/extractor/common.py", line 826, in _json_ld
AttributeError: 'list' object has no attribute 'get'

@yan12125 yan12125 added the bug label Aug 1, 2016
@yan12125 yan12125 changed the title Generic Extractor: AttributeError: 'list' object has no attribute 'get' Handle multiple node objects in JSON-LD (was: Generic Extractor: AttributeError: 'list' object has no attribute 'get') Aug 1, 2016
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 1, 2016

An example of multiple node objects in JSON-LD: https://www.w3.org/TR/json-ld/#named-graphs Such objects should be handled.

@dstftw dstftw closed this in 46933a1 Aug 5, 2016
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.