View Single Post
  #1  
Old 01.10.2019, 22:38
yurikus yurikus is offline
JD Alpha
 
Join Date: Jun 2015
Posts: 21
Default Twitch segments with compressed response headers fail to download

URL in question:
Code:
**External links are only visible to Support Staff**
<SEGMENT_ID> sample range: 2900 - 2915

Example:
Code:
**External links are only visible to Support Staff**
JD2 downloader get 403 from CloudFront:
Code:
URL: https://vod-metro.twitch.tv/809481d0548b9f09c374_sips__35835997232_1308432620/chunked/2900.ts
SSLCipher: BC:TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
ConnectIP: vod-metro.twitch.tv/13.249.87.81:443
Connection-Timeout: 20000ms
Read-Timeout: 60000ms
----------------Request-------------------------
GET /809481d0548b9f09c374_sips__35835997232_1308432620/chunked/2900.ts HTTP/1.1
Host: vod-metro.twitch.tv
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:67.0) Gecko/20100101 Firefox/67.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb, en;q=0.8
Accept-Encoding: identity
Cache-Control: no-cache
Referer: https://vod-metro.twitch.tv/809481d0548b9f09c374_sips__35835997232_1308432620/chunked/2900.ts

----------------Response Information------------
Connection-Time: keep-Alive
Request-Time: 191ms
----------------Response------------------------
HTTP/1.1 403 Forbidden
Content-Type: text/html
Content-Length: 17
Connection: keep-alive
Last-Modified: Mon, 28 Mar 2016 20:26:38 GMT
ETag: "f2ba37ab539401d32d53e77d7527788e"
x-amz-error-code: AccessDenied
x-amz-error-message: Access Denied
Date: Tue, 01 Oct 2019 20:16:15 GMT
Server: AmazonS3
X-Cache: Error from cloudfront
Via: 1.1 7c79be60fcabd36655f1da4928e2adea.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: ORD52-C1
X-Amz-Cf-Id: 52qPn65SrSCdQgaPoBCM1GKzckVWsuGK6cfttWZMGjJVOhrRZKebCw==
------------------------------------------------

This curl fails:
Code:
curl --output 2900.ts **External links are only visible to Support Staff**

This curl suceeds:
Code:
curl --compressed --output 2900.ts **External links are only visible to Support Staff**
Reply With Quote