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

YTDL not giving FFMPEG cookies #21486

Closed
japzone1 opened this issue Jun 21, 2019 · 1 comment
Closed

YTDL not giving FFMPEG cookies #21486

japzone1 opened this issue Jun 21, 2019 · 1 comment

Comments

@japzone1
Copy link

@japzone1 japzone1 commented Jun 21, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.06.21
  • 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

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'comcast-cookies.txt', 'https://turnerlive.akamaized.net/hls/live/586495/cnngo/cnn_slate/master.m3u8?hdnts=exp=1561144011~acl=/hls/live/586495/cnngo/*!/hls/live/586495-b/cnngo/*~id=47d033ff2df4a36a0237387a02fa9735~hmac=2d170b1b707ccce3b0558ac2116e7414c05f745e8a6a6f0a6f5457ab3d5ed30a', '-v', '-F']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2019.05.11
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.15063
[debug] exe versions: ffmpeg N-84679-gd65b595, ffprobe N-84679-gd65b595
[debug] Proxy map: {}
[generic] *~id=47d033ff2df4a36a0237387a02fa9735~hmac=2d170b1b707ccce3b0558ac2116e7414c05f745e8a6a6f0a6f5457ab3d5ed30a: Requesting header
[generic] *~id=47d033ff2df4a36a0237387a02fa9735~hmac=2d170b1b707ccce3b0558ac2116e7414c05f745e8a6a6f0a6f5457ab3d5ed30a: Downloading m3u8 information
[info] Available formats for *~id=47d033ff2df4a36a0237387a02fa9735~hmac=2d170b1b707ccce3b0558ac2116e7414c05f745e8a6a6f0a6f5457ab3d5ed30a:
format code  extension  resolution note
143          mp4        audio only  143k , mp4a.40.2
311          mp4        416x234     311k , avc1.42e00d, 29.97fps, mp4a.40.2
515          mp4        416x234     515k , avc1.42e00d, 29.97fps, mp4a.40.2
924          mp4        640x360     924k , avc1.42e01e, 29.97fps, mp4a.40.2
1128         mp4        640x360    1128k , avc1.4d401e, 29.97fps, mp4a.40.2
1537         mp4        640x360    1537k , avc1.42e01e, 29.97fps, mp4a.40.2
2048         mp4        848x480    2048k , avc1.42e01f, 29.97fps, mp4a.40.2
2661         mp4        960x540    2661k , avc1.4d401f, 29.97fps, mp4a.40.2
3683         mp4        1280x720   3683k , avc1.4d401f, 29.97fps, mp4a.40.2 (best)

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'comcast-cookies.txt', 'https://turnerlive.akamaized.net/hls/live/586495/cnngo/cnn_slate/master.m3u8?hdnts=exp=1561144011~acl=/hls/live/586495/cnngo/*!/hls/live/586495-b/cnngo/*~id=47d033ff2df4a36a0237387a02fa9735~hmac=2d170b1b707ccce3b0558ac2116e7414c05f745e8a6a6f0a6f5457ab3d5ed30a', '-v', '-f', '3683']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2019.05.11
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.15063
[debug] exe versions: ffmpeg N-84679-gd65b595, ffprobe N-84679-gd65b595
[debug] Proxy map: {}
[generic] *~id=47d033ff2df4a36a0237387a02fa9735~hmac=2d170b1b707ccce3b0558ac2116e7414c05f745e8a6a6f0a6f5457ab3d5ed30a: Requesting header
WARNING: Could not send HEAD request to https://turnerlive.akamaized.net/hls/live/586495/cnngo/cnn_slate/master.m3u8?hdnts=exp=1561144011~acl=/hls/live/586495/cnngo/*!/hls/live/586495-b/cnngo/*~id=47d033ff2df4a36a0237387a02fa9735~hmac=2d170b1b707ccce3b0558ac2116e7414c05f745e8a6a6f0a6f5457ab3d5ed30a: HTTP Error 403: Forbidden
[generic] *~id=47d033ff2df4a36a0237387a02fa9735~hmac=2d170b1b707ccce3b0558ac2116e7414c05f745e8a6a6f0a6f5457ab3d5ed30a: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sgve\build\youtube_dl\extractor\common.py", line 626, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sgve\build\youtube_dl\YoutubeDL.py", line 2227, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

Description

Trying to download M3U8 stream. Youtube-DL is able to pull up the stream choices, so the cookies seem to be fine, but FFMPEG keeps 403ing as if it didn't get any cookies or something.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 21, 2019

Nothing to do with ffmpeg. More likely expired URL.

@dstftw dstftw closed this Jun 21, 2019
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.