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

Brightcove video raises TypeError exception #3139

Open
jillh510 opened this issue Jun 23, 2014 · 0 comments
Open

Brightcove video raises TypeError exception #3139

jillh510 opened this issue Jun 23, 2014 · 0 comments

Comments

@jillh510
Copy link

@jillh510 jillh510 commented Jun 23, 2014

python -m youtube_dl -v -f mp4 http://www.slate.com/blogs/browbeat/2014/06/09/jon_snow_brooding_supercut_the_game_of_thrones_character_doing_what_he_does.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-f', 'mp4', 'http://www.slate.com/blogs/browbeat/2014/06/09/jon_snow_brooding_supercut_the_game_of_thrones_character_doing_what_he_does.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.06.19
[debug] Python version 2.7.5 - Darwin-13.2.0-x86_64-i386-64bit
[debug] Proxy map: {}
[generic] jon_snow_brooding_supercut_the_game_of_thrones_character_doing_what_he_does: Requesting header
WARNING: Falling back on generic information extractor.
[generic] jon_snow_brooding_supercut_the_game_of_thrones_character_doing_what_he_does: Downloading webpage
[generic] jon_snow_brooding_supercut_the_game_of_thrones_character_doing_what_he_does: Extracting information
[generic] Brightcove video detected.
[download] Downloading playlist: Jon Snow brooding supercut: The Game of Thrones character doing what he does best (VIDEO).
[generic] playlist Jon Snow brooding supercut: The Game of Thrones character doing what he does best (VIDEO).: Collected 1 video ids (downloading 1 of them)
[download] Downloading video #1 of 1
[Brightcove] 3613459920001: Downloading webpage
[Brightcove] 3613459920001: Extracting information
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/main.py", line 18, in
youtube_dl.main()
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/init.py", line 852, in main
_real_main(argv)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/init.py", line 842, in _real_main
retcode = ydl.download(all_urls)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1050, in download
self.extract_info(url)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 527, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 645, in process_ie_result
extra_info=extra)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 571, in process_ie_result
extra_info=extra_info)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 167, in extract
return self._real_extract(url)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/extractor/brightcove.py", line 190, in _real_extract
videoPlayer[0], query_str, query, referer=referer)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/extractor/brightcove.py", line 208, in _get_video_info
video_info = info['programmedContent']['videoPlayer']['mediaDTO']
TypeError: 'NoneType' object has no attribute 'getitem'

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