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

Bad Python error for LCP.fr #23966

Closed
pdav opened this issue Feb 5, 2020 · 0 comments
Closed

Bad Python error for LCP.fr #23966

pdav opened this issue Feb 5, 2020 · 0 comments
Labels

Comments

@pdav
Copy link

@pdav pdav commented Feb 5, 2020

Checklist

  • [x ] I'm reporting a broken site support
  • [ x] I've verified that I'm running youtube-dl version 2020.01.24
  • [ x] I've checked that all provided URLs are alive and playable in a browser
  • [x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • [x ] I've searched the bugtracker for similar issues including closed ones

Verbose log

% ~/youtube-dl -v http://www.lcp.fr/collection/documentaires/288371
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'http://www.lcp.fr/collection/documentaires/288371']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.01.24
[debug] Python version 2.7.17 (CPython) - Linux-5.3.0-29-generic-x86_64-with-Ubuntu-19.10-eoan
[debug] exe versions: ffmpeg 4.1.4-1build2, ffprobe 4.1.4-1build2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[Lcp] 288371: Downloading webpage
[generic] 288371: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 288371: Downloading webpage
[generic] 288371: Extracting information
[download] Downloading playlist: Documentaires
[generic] playlist Documentaires: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[generic] k7CGKPt0fk7kdxvL51a: Requesting header
[redirect] Following redirect to https://www.dailymotion.com/embed/video/k7CGKPt0fk7kdxvL51a
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/pda/youtube-dl/__main__.py", line 19, in <module>
File "/home/pda/youtube-dl/youtube_dl/__init__.py", line 474, in main
File "/home/pda/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main
File "/home/pda/youtube-dl/youtube_dl/YoutubeDL.py", line 2018, in download
File "/home/pda/youtube-dl/youtube_dl/YoutubeDL.py", line 807, in extract_info
File "/home/pda/youtube-dl/youtube_dl/YoutubeDL.py", line 869, in process_ie_result
File "/home/pda/youtube-dl/youtube_dl/YoutubeDL.py", line 807, in extract_info
File "/home/pda/youtube-dl/youtube_dl/YoutubeDL.py", line 1007, in process_ie_result
File "/home/pda/youtube-dl/youtube_dl/YoutubeDL.py", line 869, in process_ie_result
File "/home/pda/youtube-dl/youtube_dl/YoutubeDL.py", line 807, in extract_info
File "/home/pda/youtube-dl/youtube_dl/YoutubeDL.py", line 869, in process_ie_result
File "/home/pda/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
File "/home/pda/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
File "/home/pda/youtube-dl/youtube_dl/extractor/dailymotion.py", line 235, in _real_extract
File "/home/pda/youtube-dl/youtube_dl/extractor/dailymotion.py", line 50, in _call_api
File "/home/pda/youtube-dl/youtube_dl/extractor/dailymotion.py", line 31, in _get_dailymotion_cookies
File "/home/pda/youtube-dl/youtube_dl/extractor/common.py", line 2831, in _get_cookies
File "/usr/lib/python2.7/Cookie.py", line 583, in __init__
if input: self.load(input)
File "/usr/lib/python2.7/Cookie.py", line 643, in load
for k, v in rawdata.items():
AttributeError: 'unicode' object has no attribute 'items'

Description

All replay videos I tried showed the same bad Python error.

@dstftw dstftw closed this Feb 5, 2020
@dstftw dstftw added the duplicate label Feb 5, 2020
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.