Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Handle multiple node objects in JSON-LD (was: Generic Extractor: AttributeError: 'list' object has no attribute 'get') #10203
Comments
|
An example of multiple node objects in JSON-LD: https://www.w3.org/TR/json-ld/#named-graphs Such objects should be handled. |
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'