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

[youtube] Error downloading cookies #25117

Closed
Mo-0hammed opened this issue May 3, 2020 · 0 comments
Closed

[youtube] Error downloading cookies #25117

Mo-0hammed opened this issue May 3, 2020 · 0 comments
Labels

Comments

@Mo-0hammed
Copy link

@Mo-0hammed Mo-0hammed commented May 3, 2020

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2020.05.03
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[youtube] vfNI24pIEBY: Downloading webpage
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2019, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1709, in _real_extract
    video_webpage, urlh = self._download_webpage_handle(url, video_id)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 272, in _download_webpage_handle
    *args, **compat_kwargs(kwargs))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 660, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query, expected_status=expected_status)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2238, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 2728, in https_open
    req, **kwargs)
  File "/usr/lib/python2.7/urllib2.py", line 1202, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "/usr/lib/python2.7/httplib.py", line 1086, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 1125, in _send_request
    self.putheader(hdr, value)
  File "/usr/lib/python2.7/httplib.py", line 1064, in putheader
    raise ValueError('Invalid header value %r' % (one_value,))
ValueError: Invalid header value 'APISID=_UpE0A2BEzjbspxi/AK48IzbBjPDlOkJDt\r; __Secure-HSID=AVJGTMs1Q4nd4gg-b\r; SSID=ArvTEmovywDYzHLKJ\r; LOGIN_INFO=AFmmF2swRgIhAPNz9M6orDfQ4p_buf44zgmC0N_dLDOSk7fZh8dXu18qAiEA3WnIUmg9Pak0YiZp8xAjjgvUAv03YUFy1jPF81R5oeY:QUQ3MjNmeXBXcWhERjhZTWZaWEtfTzdfWVRYeVV0SklnRUlrbGRRUG1uYTZYVHdnNkp6cEdJeUJqRzdfU0k1ekxEWGl3TXNQMWk4QTE5UzhHTmdqUW5sc0VqRS01NjYzODNyUG11dXl0dzZ5dkZqTHFDTmJKV1BJU2V6ZGFMczQ2WmVsTU8tY3NkN1pHXzRjYlVEWnNLS0ZNMllsUzBUdndodHh6dHZtamtxRnhieEZDaGJTdUF1dTV5clRZX1M5dUFyTTJsb3hhdGN4\r; CONSENT=YES+SY.ar+\r; YSC=pOJ9o43yW2A\r; PREF=f1=50000000&hl=en; _ga=GA1.2.1990072062.1584065054\r; __Secure-3PAPISID=fDy-lmKq7h8wfRNh/Agbd4dSN96Qo-wT4Z\r; SAPISID=fDy-lmKq7h8wfRNh/Agbd4dSN96Qo-wT4Z\r; __Secure-SSID=ArvTEmovywDYzHLKJ\r; __Secure-APISID=_UpE0A2BEzjbspxi/AK48IzbBjPDlOkJDt\r; SID=wgdGbizMWOYFx1qPCjTXLD6QmFxAtD-zqSFkENGFuFavEwuXdmG1t6yJ--r00t7E1OSkig.\r; HSID=AVJGTMs1Q4nd4gg-b\r; VISITOR_INFO1_LIVE=YYxARPDhVO0\r; SIDCC=AJi4QfE1LZwG8_UFud7N8hPGaCl3_JkBOXA20ApuHi1f1E87yE6DOI-_89KNt8TctE8VzDLX; __Secure-3PSID=wgdGbizMWOYFx1qPCjTXLD6QmFxAtD-zqSFkENGFuFavEwuXuPofTYUwunDVWlHzWn7CVw.\r'

Description

I used the following command : youtube-dl https://www.youtube.com/watch?v=vfNI24pIEBY --cookies=cookies.txt

@dstftw dstftw closed this May 4, 2020
@dstftw dstftw added the incomplete label May 4, 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.