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

could not send head request and http error 403 #16996

Open
element73 opened this issue Jul 17, 2018 · 23 comments
Open

could not send head request and http error 403 #16996

element73 opened this issue Jul 17, 2018 · 23 comments

Comments

@element73
Copy link

@element73 element73 commented Jul 17, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.07.10. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.07.10

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\censored\Desktop\youtube-dl>youtube-dl -v https://hls2.videos.sproutvideo.co
m/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1080.m
3u8
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://hls2.videos.sproutvideo.com/31b0a8c7e
2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1080.m3u8']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.07.10
[debug] Python version 3.4.4 (CPython) - Windows-8.1-6.3.9600
[debug] exe versions: none
[debug] Proxy map: {}
[generic] 1080: Requesting header
WARNING: Could not send HEAD request to https://hls2.videos.sproutvideo.com/31b0
a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1080.m3u8: H
TTP Error 403: Forbidden
[generic] 1080: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPErro
r()); please report this issue on https://yt-dl.org/bug . Make sure you are usin
g 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\rg3\tmp4etivjk5\bu
ild\youtube_dl\extractor\common.py", line 599, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\YoutubeDL.py", line 2211, 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


If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

  • Single Video: http://indemandcareer.com/blueprint/5-digital-marketing-the-website/
  • Playlist: Same link as above. Not sure if that is considered a playlist on the right side of the page, but they provide links like a table of contents. Each section leads to a web page that provides the table of contents. And each link/section has at least one video.

Description of your issue, suggested solution and other information

Remade issue since it was 'closed' before I could reply. Someone closed it right after they replied. How is that enough time toe reply?

Source URL: http://indemandcareer.com/blueprint

Here is the log file:
[06/17/18 03:45:22] WARNING: Could not send HEAD request to https://hls2.videos.sproutvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1080.m3u8: HTTP Error 403: Forbidden
[06/17/18 03:45:22] 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.

I tried using cookies or login information and it didn't work. Please give me some ideas to try.

who can I PM to give them my login to test?

@bato3
Copy link
Contributor

@bato3 bato3 commented Jul 17, 2018

Can you try open this link in another borwser / incognito mode?
If you want use link generated in browser you should pass also browser cookies https://github.com/rg3/youtube-dl#how-do-i-pass-cookies-to-youtube-dl

@element73
Copy link
Author

@element73 element73 commented Jul 18, 2018

It doesn't work in incognito. However, if you try the source URL in incognito it directs you to the correct landing page; that's what you're suppose to see for the most part; there's a login; if you login and click section 5 of the table of contents, that's what you're suppose to see with a video on that page.

What do you mean use link generated in browser? Oh, you mean use that link for the URL in the command and try to pass cookies as well? I'll try it now.

update: I used exportcookies.txt for chrome extensions. And I'm using the browser generated URL of the page that contains the video. I tried to extract but nothing is happening.
It couldn't grab it. All 12/12 downloads 'finished'. I can see a file called 1080.mp4.part I'm pretty sure that was the video file i wanted to get.

I know that 1080.mp4.part is the file I want to get because I found a URL link that includes more information on top of the m3u8. Which is ?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9obHMyLnZpZGVvcy5zcHJvdXR2aWRlby5jb20vMzFiMGE4YzdlMmIzZGQ1YTcwN2NhZWZkZDE3NTYyZGQvZmMwMWRhNTFkMDRjMjE5ODk5NzM3Zjg2MGJmZmNmOGUvKi5tM3U4IiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNTMxODQ0NzQyfX19XX0_&Signature=OIIbHUSuUc4VMVwbcICpczbfpnON2zbwFqofGYjacwqvcTYzFDtfTVH1lHZPQdby6ZVkV8tFK5fcUxpIMj97EZNEAKMPei1-jwDBoJ5TecVHM1o4Dib2Wn9rYy-drrjUao778p5jymqPnMjiSVfYjVmLEds7AGxWrAIiOQwdgknWdRHHO18Wz9KOoHW08Zr4NiRCC-99uOjreQTWQ4Nz-KmI-PUqo-9uNPLalRmmTI6qI4RhSuv1QgLZj20zWXfHWZofJ85sqwCwasabrCdhAl-4kKkA9v-WTzOfriSrpd3bUxjLZfAwm1staOzI9jFvSaW1R7XaoOH5iM7r3g__&Key-Pair-Id=APKAIB5DGCGAQJ4GGIUQ

When I try to use this link it tries to download indefinetly and doesn't do anything other than make the file called 1080.mp4.part and 1080.mp4.ytdl

@bato3 bato3 mentioned this issue Jul 18, 2018
7 of 9 tasks complete
@bato3
Copy link
Contributor

@bato3 bato3 commented Jul 18, 2018

try cookies + http://indemandcareer.com/blueprint/5-digital-marketing-the-website/

btw: (sad truth) faster be use some browser extension to download video

@element73
Copy link
Author

@element73 element73 commented Jul 19, 2018

It won't work if used a browser extension. Youtube-dl is a fork of ffmpeg, correct? I believe only youtube-dl and ffmpeg can handle encrypted video streams to this extent.

I already tried cookies as said in my first post. Can you recommend me a cookie extension, because they all output something different. I have tried several and I'm not sure which one is the one that youtube-dl likes.

update: Apparently, in 2012, github removed private messaging. How can I give you my login information bato3? I want someone to help me solve this issue.

@element73 element73 changed the title could not send head request and http error 401 could not send head request and http error 403 Jul 19, 2018
@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jul 20, 2018

I know that 1080.mp4.part is the file I want to get because I found a URL link that includes more information on top of the m3u8. Which is ?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9obHMyLnZpZGVvcy5zcHJvdXR2aWRlby5jb20vMzFiMGE4YzdlMmIzZGQ1YTcwN2NhZWZkZDE3NTYyZGQvZmMwMWRhNTFkMDRjMjE5ODk5NzM3Zjg2MGJmZmNmOGUvKi5tM3U4IiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNTMxODQ0NzQyfX19XX0_&Signature=OIIbHUSuUc4VMVwbcICpczbfpnON2zbwFqofGYjacwqvcTYzFDtfTVH1lHZPQdby6ZVkV8tFK5fcUxpIMj97EZNEAKMPei1-jwDBoJ5TecVHM1o4Dib2Wn9rYy-drrjUao778p5jymqPnMjiSVfYjVmLEds7AGxWrAIiOQwdgknWdRHHO18Wz9KOoHW08Zr4NiRCC-99uOjreQTWQ4Nz-KmI-PUqo-9uNPLalRmmTI6qI4RhSuv1QgLZj20zWXfHWZofJ85sqwCwasabrCdhAl-4kKkA9v-WTzOfriSrpd3bUxjLZfAwm1staOzI9jFvSaW1R7XaoOH5iM7r3g__&Key-Pair-Id=APKAIB5DGCGAQJ4GGIUQ

When I try to use this link it tries to download indefinetly and doesn't do anything other than make the file called 1080.mp4.part and 1080.mp4.ytdl

post the verbose output with the full URL that contains Key-Pair-Id.

@element73
Copy link
Author

@element73 element73 commented Jul 20, 2018

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\censored>cd C:\Users\censored\Desktop\youtube-dl

C:\Users\censored\Desktop\youtube-dl>youtube-dl.exe -v https://hls2.videos.sproutvide
o.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/10
80.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9obHMyLnZpZGVvcy5zc
HJvdXR2aWRlby5jb20vMzFiMGE4YzdlMmIzZGQ1YTcwN2NhZWZkZDE3NTYyZGQvZmMwMWRhNTFkMDRjM
jE5ODk5NzM3Zjg2MGJmZmNmOGUvKi5tM3U4IiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV
1M6RXBvY2hUaW1lIjoxNTMyMDk0Nzk0fX19XX0_&Signature=p-GLjQhuDIuO0tWGxtsdFwbekJLVOc
TF-EdqxPUccckxWZCjgFCDv3AcvDAx0P1B2JWU7ddv-Y4GgEnzdQiSyBwMt85WUnVYXOc4WneKpvOdl
j5uXzdbP9Ui9m2Lilnxi-Wu5puIqCAH~~LZ9wf2KlH8Lh58P1dFWKJebBJSXqh-VOHajO6np86ZLkd
iU4oZVoymjTo1hEqwiUoVK9U4v6My21xdv1icuRuwgVWPk9PvBPeLa1jvTP0tG8
OeE4QLJOMptLTqQ
xPaPIhTqjCOdDadTuvhX27
xQRHDpHJ2sTougSRsT8exO-9rbKcaRMadVJYL-bvzfiIAODJw__&Key-P
air-Id=APKAIB5DGCGAQJ4GGIUQ
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://hls2.videos.sproutvideo.com/31b0a8c7e
2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1080.m3u8?Policy=
eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9obHMyLnZpZGVvcy5zcHJvdXR2aWRlby5j
b20vMzFiMGE4YzdlMmIzZGQ1YTcwN2NhZWZkZDE3NTYyZGQvZmMwMWRhNTFkMDRjMjE5ODk5NzM3Zjg2
MGJmZmNmOGUvKi5tM3U4IiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1l
IjoxNTMyMDk0Nzk0fX19XX0_']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.07.10
[debug] Python version 3.4.4 (CPython) - Windows-8.1-6.3.9600
[debug] exe versions: none
[debug] Proxy map: {}
[generic] 1080: Requesting header
WARNING: Could not send HEAD request to https://hls2.videos.sproutvideo.com/31b0
a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1080.m3u8?Po
licy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9obHMyLnZpZGVvcy5zcHJvdXR2aWR
lby5jb20vMzFiMGE4YzdlMmIzZGQ1YTcwN2NhZWZkZDE3NTYyZGQvZmMwMWRhNTFkMDRjMjE5ODk5NzM
3Zjg2MGJmZmNmOGUvKi5tM3U4IiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2h
UaW1lIjoxNTMyMDk0Nzk0fX19XX0_: HTTP Error 403: Forbidden
[generic] 1080: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPErro
r()); please report this issue on https://yt-dl.org/bug . Make sure you are usin
g 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\rg3\tmp4etivjk5\bu
ild\youtube_dl\extractor\common.py", line 599, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\YoutubeDL.py", line 2211, 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_defau
lt

'Signature' is not recognized as an internal or external command,
operable program or batch file.
'Key-Pair-Id' is not recognized as an internal or external command,
operable program or batch file.

@remitamine remitamine closed this Jul 20, 2018
@remitamine remitamine added invalid and removed incomplete labels Jul 20, 2018
@element73
Copy link
Author

@element73 element73 commented Jul 20, 2018

What is the purpose of closing this issue when it was not resolved?

@element73
Copy link
Author

@element73 element73 commented Jul 20, 2018

utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00066.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00066.ts' for reading
[https @ 00000023786d3c80] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00066.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 66 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00067.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00067.ts' for reading
[https @ 00000023786d3c80] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00067.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 67 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00068.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00068.ts' for reading
[https @ 000000237906df00] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00068.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 68 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00069.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00069.ts' for reading
[https @ 00000023791901c0] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00069.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 69 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00070.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00070.ts' for reading
[https @ 000000237906df00] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00070.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 70 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00071.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00071.ts' for reading
[https @ 00000023786d3c80] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00071.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 71 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00072.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00072.ts' for reading
[https @ 00000023790149c0] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00072.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 72 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00073.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00073.ts' for reading
[https @ 0000002379190080] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00073.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 73 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00074.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00074.ts' for reading
[https @ 0000002379190080] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00074.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 74 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00075.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00075.ts' for reading
[https @ 00000023786d3c80] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00075.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 75 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00076.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00076.ts' for reading
[https @ 00000023790149c0] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00076.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 76 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00077.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00077.ts' for reading
[https @ 00000023786d3c80] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00077.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 77 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00078.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00078.ts' for reading
[https @ 0000002378f73c80] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00078.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 78 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00079.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00079.ts' for reading
[https @ 00000023786d3c80] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00079.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 79 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00080.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00080.ts' for reading
[https @ 0000002379190180] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00080.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 80 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00081.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00081.ts' for reading
[https @ 0000002379190180] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00081.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 81 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00082.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00082.ts' for reading
[https @ 000000237906df00] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00082.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 82 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00083.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00083.ts' for reading
[https @ 00000023786d3c80] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00083.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 83 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00084.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00084.ts' for reading
[https @ 00000023790149c0] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00084.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 84 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00085.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00085.ts' for reading
[https @ 0000002379190080] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00085.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 85 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00086.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00086.ts' for reading
[https @ 00000023792a4840] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00086.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 86 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00087.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00087.ts' for reading
[https @ 00000023786d3c80] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00087.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 87 of playlist 0
[hls,applehttp @ 00000023786cb5c0] HLS request for url 'https://hls2.videos.spro
utvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/vi
deo/1080_00088.ts', offset 0, playlist 0
[hls,applehttp @ 00000023786cb5c0] Opening 'crypto+https://hls2.videos.sproutvid
eo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1
080_00088.ts' for reading
[https @ 00000023790149c0] HTTP error 403 Forbidden
[crypto @ 0000002378fc5400] Unable to open resource: https://hls2.videos.sproutv
ideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video
/1080_00088.ts
[hls,applehttp @ 00000023786cb5c0] Failed to open segment 88 of playlist 0
[hls,applehttp @ 00000023786cb5c0] Error when loading first segment 'https://hls
2.videos.sproutvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04c219899737f
860bffcf8e/video/1080_00000.ts'
[AVIOContext @ 0000002378f78a80] Statistics: 3104 bytes read, 0 seeks
https://hls2.videos.sproutvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc01da51d04
c219899737f860bffcf8e/video/1080.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjo
iaHR0cHM6Ly9obHMyLnZpZGVvcy5zcHJvdXR2aWRlby5jb20vMzFiMGE4YzdlMmIzZGQ1YTcwN2NhZWZ
kZDE3NTYyZGQvZmMwMWRhNTFkMDRjMjE5ODk5NzM3Zjg2MGJmZmNmOGUvKi5tM3U4IiwiQ29uZGl0aW9
uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNTMyMTM4MzIwfX19XX0_&Signature=
qVRjA3WLcQnWYQxyOFxmkDxxKNMvW47qWvZ8bcCDADtYFNrsCiFVjLt4PoRwWrwMnCtg89PN-tDXq-
7iXgOZbqwX4b75qLHqTvfW8ObDT1xCeVIX6WX6FK0CFmeTkEeMfzOz-uwv7DkOnqCoVt62WTk7m-OZ
UDspicy32tv45ORbS2ZJib9iBP4v2x8FdYJEd-pXHi-1J4e9AbqT7i2VXCSNqr1ZmksD2-uhJpFhj0mp
lFDauYUkGGKX0hX4xul5EVD5hIsrWjvuNxD8SClyjWviOxZG3AM6dhUIqlZAsojT6ROUL9QAi9VIMxK
g1el-O3sigp
wyeQIqKtdw__&Key-Pair-Id=APKAIB5DGCGAQJ4GGIUQ: Invalid data found wh
en processing input

ERROR: ffmpeg exited with code 1
File "main.py", line 19, in
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl_init_.py", line 472, in main
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl_init_.py", line 462, in _real_main
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\YoutubeDL.py", line 2001, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\YoutubeDL.py", line 803, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\YoutubeDL.py", line 857, in process_ie_result
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\YoutubeDL.py", line 1635, in process_video_result
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\YoutubeDL.py", line 1908, in process_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\YoutubeDL.py", line 1847, in dl
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\downloader\common.py", line 364, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\downloader\external.py", line 64, in real_download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\downloader\common.py", line 165, in report_error
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\YoutubeDL.py", line 620, in report_error
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\bu
ild\youtube_dl\YoutubeDL.py", line 582, in trouble

@element73
Copy link
Author

@element73 element73 commented Jul 20, 2018

Should I make a new issue? I was hoping to provide a login so someone can try it themselves.

@remitamine remitamine reopened this Jul 21, 2018
@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jul 21, 2018

try with --hls-prefer-native and again post the full verbose log.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jul 21, 2018

also, you keep asking why the issue closed.
because when the issue is incomplete or invalid it will be closed until the missing/incorrect part is provided.

@remitamine remitamine removed the invalid label Jul 21, 2018
@element73
Copy link
Author

@element73 element73 commented Jul 21, 2018

C:\Users\censored\Desktop\youtube-dl>youtube-dl.exe --verbose --hls-prefer-native --f
fmpeg-location "C:\Users\censored\Desktop\ffmpeg-20180719-9cb3d8f-win64-static\bin\ff
mpeg.exe" "https://hls2.videos.sproutvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/
fc01da51d04c219899737f860bffcf8e/video/1080.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJl
c291cmNlIjoiaHR0cHM6Ly9obHMyLnZpZGVvcy5zcHJvdXR2aWRlby5jb20vMzFiMGE4YzdlMmIzZGQ1
YTcwN2NhZWZkZDE3NTYyZGQvZmMwMWRhNTFkMDRjMjE5ODk5NzM3Zjg2MGJmZmNmOGUvKi5tM3U4Iiwi
Q29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNTMyMTk1NDU0fX19XX0_
&Signature=bLhl81NpQCnp5b4e-xJ2WyWnPGV7HYn5UsplTfR1f5sbFwy1Iq2xCH2BqIcXyoB-3qhPB
PLNiKlP1SUzbLvbRiU3XHhw690sAjBmx162bQOk5Pzf1wgnB9c0tONMtrvWcPir1pWaf2rrG7z76xS
LyyMgq0jyA5iM0nCGNNUi2Oie61dUPs2c6EHSb6lDxgHfzesLNLqGBYAeU67D69MIlcgcTHeTNKDc
QKHXVJrBWWePmna6QbVxIo7xErBzLr5bOP9jyNEskZXBU52C35aB7hKs-PKcaK1MV-lVp65LxTRBsb5Y
ViGc3fzjHzoE4UMQWDdipNEN
99VD7CWg__&Key-Pair-Id=APKAIB5DGCGAQJ4GGIUQ"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--hls-prefer-native', '--ffmpeg-locati
on', 'C:\Users\censored\Desktop\ffmpeg-20180719-9cb3d8f-win64-static\bin\ffmpeg
.exe', 'https://hls2.videos.sproutvideo.com/31b0a8c7e2b3dd5a707caefdd17562dd/fc0
1da51d04c219899737f860bffcf8e/video/1080.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc29
1cmNlIjoiaHR0cHM6Ly9obHMyLnZpZGVvcy5zcHJvdXR2aWRlby5jb20vMzFiMGE4YzdlMmIzZGQ1YTc
wN2NhZWZkZDE3NTYyZGQvZmMwMWRhNTFkMDRjMjE5ODk5NzM3Zjg2MGJmZmNmOGUvKi5tM3U4IiwiQ29
uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNTMyMTk1NDU0fX19XX0_&Si
gnature=bLhl81NpQCnp5b4e-xJ2WyWnPGV7HYn5UsplTfR1f5sbFwy1Iq2xCH2BqIcXyoB-3qhPBPLN
iKlP1SUzbLvbRiU3XHhw690sAjBmx162bQOk5Pzf1wgnB9c0tONMtrvWcPir1pWaf2rrG7z76xSLyy
Mgq0jyA5iM0nCGNNUi2Oie61dUPs2c6EHSb6lDxgHfzesLNLqGBYAeU67D69MIlcgcTHeTNKDcQKH
XVJrBWWePmna6QbVxIo7xErBzLr5bOP9jyNEskZXBU52C35aB7hKs-PKcaK1MV-lVp65LxTRBsb5YViG
c3fzjHzoE4UMQWDdipNEN
99VD7CWg__&Key-Pair-Id=APKAIB5DGCGAQJ4GGIUQ']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.07.10
[debug] Python version 3.4.4 (CPython) - Windows-8.1-6.3.9600
[debug] exe versions: ffmpeg N-91492-g9cb3d8fcb7, ffprobe N-91492-g9cb3d8fcb7
[debug] Proxy map: {}
[generic] 1080: Requesting header
[generic] 1080: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://hls2.videos.sproutvideo.com/31b0a8c7e2b3
dd5a707caefdd17562dd/fc01da51d04c219899737f860bffcf8e/video/1080.m3u8?Policy=eyJ
TdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9obHMyLnZpZGVvcy5zcHJvdXR2aWRlby5jb20
vMzFiMGE4YzdlMmIzZGQ1YTcwN2NhZWZkZDE3NTYyZGQvZmMwMWRhNTFkMDRjMjE5ODk5NzM3Zjg2MGJ
mZmNmOGUvKi5tM3U4IiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjo
xNTMyMTk1NDU0fX19XX0_&Signature=bLhl81NpQCnp5b4e-xJ2WyWnPGV7HYn5UsplTfR1f5sbFwy1
Iq2xCH2BqIcXyoB-3qhPBPLNiKlP1SUzbLvbRiU3XHhw690sAjBmx162bQOk5Pzf1wgnB9c0tONMtr
vWcPir1pWaf2rrG7z76xSLyyMgq0jyA5iM0nCGNNUi2Oie61dUPs2c6EHSb6lDxgHfzesLNLqGBYA
eU67D69MIlcgcTHeTNKDcQKHXVJrBWWePmna6QbVxIo7xErBzLr5bOP9jyNEskZXBU52C35aB7hKs-PK
caK1MV-lVp65LxTRBsb5YViGc3fzjHzoE4UMQWDdipNEN
99VD7CWg__&Key-Pair-Id=APKAIB5DGCG
AQJ4GGIUQ'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 89
[download] Destination: 1080-1080.mp4
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1
(attempt 1 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1
(attempt 2 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1
(attempt 3 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1
(attempt 4 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1
(attempt 5 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1
(attempt 6 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1
(attempt 7 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1
(attempt 8 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1
(attempt 9 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1
(attempt 10 of 10)...
[download] Skipping fragment 1...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 2
(attempt 1 of 10)...

repeats 10 attempts for all 89 fragments

[download] Skipping fragment 89...
[download] 100% of 0.00B in 01:55
[debug] ffmpeg command line: "C:\Users\censored\Desktop\ffmpeg-20180719-9cb3d8f-win64
-static\bin\ffprobe" -show_streams "file:1080-1080.mp4"

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jul 21, 2018

it most likely that the URL query is also necessary for HLS fragments.
it can be worked around by either:

  • converting the url query params(Policy, Signature and Key-Pair-Id) into CloudFront Cookies (CloudFront-Expires, CloudFront-Signature, and CloudFront-Key-Pair-Id), for that you have to create a script to simplify the process.
  • add support for the original website(https://indemandcareer.com/).

anyway, there aren't much that we can do, without having access to the website.

@element73
Copy link
Author

@element73 element73 commented Jul 21, 2018

I would love to send you the login information. How do I do that without publishing it publicly?

remitamine - I found your email is it ok for me to send you my login?

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jul 22, 2018

remitamine - I found your email is it ok for me to send you my login?

yes

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jul 22, 2018

this a little difficult to integrate with youtube-dl, and impossible to make it work with FFmpeg.
SproutVideo generates three different CloudFront policies for:

  • HLS manifest(.m3u8) URLs.
  • HLS segment(.ts) URLs.
  • HLS key(.key) URLs.

so the URLs of each group has to be requested with the proper policy.
the policies can be found in SproutVideo embed pages in a variable named dat(base64 encoded JSON string) in signatures object that maps like this:

  • k -> HLS keys.
  • m -> HLS manifests.
  • t -> HLS segments.
@element73
Copy link
Author

@element73 element73 commented Jul 23, 2018

Have you been able to extract one of the videos? I am a little confused on how to extract a video at this point, if it is possible.

If you were successful, can you please give an example on how you did it? I found 3 different CloudFront parameters: key-pair-id, Policy, and Signature. I tried using them to get the .m3u8 video. Didn't work for me when I tried in various ways.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jul 23, 2018

Have you been able to extract one of the videos? I am a little confused on how to extract a video at this point if it is possible.

getting the video won't be too difficult, you just have to use the appropriate policy for the relevant resources, but to simplify the process you have to create a script that makes the correct requests.

Didn't work for me when I tried in various ways.

as I said, there is no support in youtube-dl for this kind of situations(it's the first time I saw this case).

@bato3
Copy link
Contributor

@bato3 bato3 commented Jul 26, 2018

as I said, there is no support in youtube-dl for this kind of situations(it's the first time I saw this case).

Cloudflare now can stream video: https://www.cloudflare.com/products/cloudflare-stream/
What do you think they can use it?

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jul 26, 2018

Cloudflare now can stream video: https://www.cloudflare.com/products/cloudflare-stream/
What do you think they can use it?

@bato3 CloudFlare and Amazon CloudFront are different things.
read the full set of comments to understand the situation.

@element73
Copy link
Author

@element73 element73 commented Aug 17, 2018

I made a new account, if one of the devs need it to implement this site. The other account expired.

@dnlzzxz
Copy link

@dnlzzxz dnlzzxz commented Aug 22, 2018

I'm having a similar issue =/

C:\Users\danpe\Desktop\Youtube-dl>youtube-dl -v http://abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9.m3u8
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9.m3u8']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.08.22
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: avconv v13_dev0-1440-g34c1133, avprobe v13_dev0-1440-g34c1133, ffmpeg N-91655-g7e0df5910e, ffprobe N-91655-g7e0df5910e
[debug] Proxy map: {}
[generic] 36d89683-e01e-44e8-ab5f-2063f69775c9: Requesting header
[redirect] Following redirect to http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9.m3u8
[generic] 36d89683-e01e-44e8-ab5f-2063f69775c9: Requesting header
[generic] 36d89683-e01e-44e8-ab5f-2063f69775c9: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10.vpl.m3u8'
[download] Destination: 36d89683-e01e-44e8-ab5f-2063f69775c9-36d89683-e01e-44e8-ab5f-2063f69775c9.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-us,en;q=0.5
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
" -i "http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10.vpl.m3u8" -c copy -f mp4 "-bsf:a" aac_adtstoasc "file:36d89683-e01e-44e8-ab5f-2063f69775c9-36d89683-e01e-44e8-ab5f-2063f69775c9.mp4.part"
ffmpeg version N-91655-g7e0df5910e Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8.2.1 (GCC) 20180813
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 19.100 / 56. 19.100
  libavcodec     58. 24.101 / 58. 24.101
  libavformat    58. 17.103 / 58. 17.103
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter     7. 26.100 /  7. 26.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
[hls,applehttp @ 000001f6d52eab00] HLS request for url 'http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10_1_1.ts', offset 0, playlist 0
[hls,applehttp @ 000001f6d52eab00] Opening 'http://authorization.nowonline.com.br:8080/key=36d89683-e01e-44e8-ab5f-2063f69775c9&&prm=eyJjb250ZW50SWQiOiIzNmQ4OTY4My1lMDFlLTQ0ZTgtYWI1Zi0yMDYzZjY5Nzc1YzkiLCJrZXlJZCI6IjJmY2EzYWJhLTE1NDMtNDdmYy1iNWNiLTFhODA5NjMxYTdiNSJ9' for reading
Unable to open key file http://authorization.nowonline.com.br:8080/key=36d89683-e01e-44e8-ab5f-2063f69775c9&&prm=eyJjb250ZW50SWQiOiIzNmQ4OTY4My1lMDFlLTQ0ZTgtYWI1Zi0yMDYzZjY5Nzc1YzkiLCJrZXlJZCI6IjJmY2EzYWJhLTE1NDMtNDdmYy1iNWNiLTFhODA5NjMxYTdiNSJ9
[hls,applehttp @ 000001f6d52eab00] Opening 'crypto+http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10_1_1.ts' for reading
[hls,applehttp @ 000001f6d52eab00] Error when loading first segment 'http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10_1_1.ts'
[AVIOContext @ 000001f6d52f64c0] Statistics: 1049712 bytes read, 0 seeks
[AVIOContext @ 000001f6d52f6600] Statistics: 6824 bytes read, 0 seeks
http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10.vpl.m3u8: Invalid data found when processing input


ERROR: ffmpeg exited with code 1
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\__init__.py", line 472, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\__init__.py", line 462, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 2001, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 803, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 864, in process_ie_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 803, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 857, in process_ie_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 1635, in process_video_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 1908, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 1847, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\downloader\common.py", line 364, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\downloader\external.py", line 64, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\downloader\common.py", line 165, in report_error
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 620, in report_error
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 582, in trouble
C:\Users\danpe\Desktop\Youtube-dl>youtube-dl -v http://abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9.m3u8 --hls-prefer-native
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9.m3u8', '--hls-prefer-native']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.08.22
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: avconv v13_dev0-1440-g34c1133, avprobe v13_dev0-1440-g34c1133, ffmpeg N-91655-g7e0df5910e, ffprobe N-91655-g7e0df5910e
[debug] Proxy map: {}
[generic] 36d89683-e01e-44e8-ab5f-2063f69775c9: Requesting header
[redirect] Following redirect to http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9.m3u8
[generic] 36d89683-e01e-44e8-ab5f-2063f69775c9: Requesting header
[generic] 36d89683-e01e-44e8-ab5f-2063f69775c9: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10.vpl.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 239
[download] Destination: 36d89683-e01e-44e8-ab5f-2063f69775c9-36d89683-e01e-44e8-ab5f-2063f69775c9.mp4
[download]   0.4% of ~334.58MiB at Unknown speed ETA Unknown ETAERROR: unable to download video data: [WinError 10054] An existing connection was forcibly closed by the remote host
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 1908, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 1847, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\downloader\common.py", line 364, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\downloader\hls.py", line 168, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 2211, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\utils.py", line 946, in http_open
  File "C:\Python\Python34\lib\urllib\request.py", line 1186, in do_open
  File "C:\Python\Python34\lib\http\client.py", line 1227, in getresponse
  File "C:\Python\Python34\lib\http\client.py", line 386, in begin
  File "C:\Python\Python34\lib\http\client.py", line 348, in _read_status
  File "C:\Python\Python34\lib\socket.py", line 378, in readinto
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

even when I try using the cookies i've exported from the browser in the correct format..

C:\Users\danpe\Desktop\Youtube-dl>youtube-dl -v http://abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9.m3u8 --cookies cookies.txt
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9.m3u8', '--cookies', 'cookies.txt']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.08.22
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: avconv v13_dev0-1440-g34c1133, avprobe v13_dev0-1440-g34c1133, ffmpeg N-91655-g7e0df5910e, ffprobe N-91655-g7e0df5910e
[debug] Proxy map: {}
[generic] 36d89683-e01e-44e8-ab5f-2063f69775c9: Requesting header
[redirect] Following redirect to http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9.m3u8
[generic] 36d89683-e01e-44e8-ab5f-2063f69775c9: Requesting header
[generic] 36d89683-e01e-44e8-ab5f-2063f69775c9: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10.vpl.m3u8'
[download] Destination: 36d89683-e01e-44e8-ab5f-2063f69775c9-36d89683-e01e-44e8-ab5f-2063f69775c9.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Cookie: _gid=GA1.3.918519396.1534958800; _ga=GA1.3.1536223367.1534958800
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding: gzip, deflate
" -i "http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10.vpl.m3u8" -c copy -f mp4 "-bsf:a" aac_adtstoasc "file:36d89683-e01e-44e8-ab5f-2063f69775c9-36d89683-e01e-44e8-ab5f-2063f69775c9.mp4.part"
ffmpeg version N-91655-g7e0df5910e Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8.2.1 (GCC) 20180813
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 19.100 / 56. 19.100
  libavcodec     58. 24.101 / 58. 24.101
  libavformat    58. 17.103 / 58. 17.103
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter     7. 26.100 /  7. 26.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
[hls,applehttp @ 0000023aa07eac40] HLS request for url 'http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10_1_1.ts', offset 0, playlist 0
[hls,applehttp @ 0000023aa07eac40] Opening 'http://authorization.nowonline.com.br:8080/key=36d89683-e01e-44e8-ab5f-2063f69775c9&&prm=eyJjb250ZW50SWQiOiIzNmQ4OTY4My1lMDFlLTQ0ZTgtYWI1Zi0yMDYzZjY5Nzc1YzkiLCJrZXlJZCI6IjJmY2EzYWJhLTE1NDMtNDdmYy1iNWNiLTFhODA5NjMxYTdiNSJ9' for reading
Unable to open key file http://authorization.nowonline.com.br:8080/key=36d89683-e01e-44e8-ab5f-2063f69775c9&&prm=eyJjb250ZW50SWQiOiIzNmQ4OTY4My1lMDFlLTQ0ZTgtYWI1Zi0yMDYzZjY5Nzc1YzkiLCJrZXlJZCI6IjJmY2EzYWJhLTE1NDMtNDdmYy1iNWNiLTFhODA5NjMxYTdiNSJ9
[hls,applehttp @ 0000023aa07eac40] Opening 'crypto+http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10_1_1.ts' for reading
[hls,applehttp @ 0000023aa07eac40] Error when loading first segment 'http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10_1_1.ts'
[AVIOContext @ 0000023aa0844400] Statistics: 1051184 bytes read, 0 seeks
[AVIOContext @ 0000023aa07f6780] Statistics: 6824 bytes read, 0 seeks
http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10.vpl.m3u8: Invalid data found when processing input


ERROR: ffmpeg exited with code 1
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\__init__.py", line 472, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\__init__.py", line 462, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 2001, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 803, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 864, in process_ie_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 803, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 857, in process_ie_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 1635, in process_video_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 1908, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 1847, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\downloader\common.py", line 364, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\downloader\external.py", line 64, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\downloader\common.py", line 165, in report_error
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 620, in report_error
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 582, in trouble
C:\Users\danpe\Desktop\Youtube-dl>youtube-dl -v http://abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9.m3u8 --hls-prefer-native --cookies cookies.txt
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9.m3u8', '--hls-prefer-native', '--cookies', 'cookies.txt']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.08.22
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: avconv v13_dev0-1440-g34c1133, avprobe v13_dev0-1440-g34c1133, ffmpeg N-91655-g7e0df5910e, ffprobe N-91655-g7e0df5910e
[debug] Proxy map: {}
[generic] 36d89683-e01e-44e8-ab5f-2063f69775c9: Requesting header
[redirect] Following redirect to http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9.m3u8
[generic] 36d89683-e01e-44e8-ab5f-2063f69775c9: Requesting header
[generic] 36d89683-e01e-44e8-ab5f-2063f69775c9: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'http://CPSDTCSTR01.se.abr.cds.nowonline.com.br/36d89683-e01e-44e8-ab5f-2063f69775c9/36d89683-e01e-44e8-ab5f-2063f69775c9/10.vpl.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 239
[download] Destination: 36d89683-e01e-44e8-ab5f-2063f69775c9-36d89683-e01e-44e8-ab5f-2063f69775c9.mp4
[download]   0.4% of ~334.58MiB at Unknown speed ETA Unknown ETAERROR: unable to download video data: [WinError 10054] An existing connection was forcibly closed by the remote host
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 1908, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 1847, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\downloader\common.py", line 364, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\downloader\hls.py", line 168, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\YoutubeDL.py", line 2211, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpsjdqsmfs\build\youtube_dl\utils.py", line 946, in http_open
  File "C:\Python\Python34\lib\urllib\request.py", line 1186, in do_open
  File "C:\Python\Python34\lib\http\client.py", line 1227, in getresponse
  File "C:\Python\Python34\lib\http\client.py", line 386, in begin
  File "C:\Python\Python34\lib\http\client.py", line 348, in _read_status
  File "C:\Python\Python34\lib\socket.py", line 378, in readinto
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

could someone please give us some light? Many thanks in advance!

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