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

Science Channel #19305

Closed
tkirkland opened this issue Feb 22, 2019 · 2 comments
Closed

Science Channel #19305

tkirkland opened this issue Feb 22, 2019 · 2 comments

Comments

@tkirkland
Copy link

@tkirkland tkirkland commented Feb 22, 2019

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

  • [ X ] I've verified and I assure that I'm running youtube-dl 2019.02.18

Before submitting an issue make sure you have:

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

What is the purpose of your issue?

  • [ X ] 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


[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.sciencechannel.com/tv-shows/outrageous-acts-of-science/full-episodes/savage-skills', u'--ap-mso', u'Comcast_SSO', u'--ap-username', u'PRIVATE', u'--ap-password', u'PRIVATE', u'--verbose', u'--print-traffic']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.02.18
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-45-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4, ffprobe 3.4.4
[debug] Proxy map: {}
[Discovery] savage-skills: Downloading webpage
send: u'GET /tv-shows/outrageous-acts-of-science/full-episodes/savage-skills HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: www.sciencechannel.com\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: text/html; charset=utf-8
header: Content-Length: 34128
header: Connection: close
header: Date: Fri, 22 Feb 2019 19:07:29 GMT
header: Access-Control-Allow-Headers: DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type, Accept-Language, Origin, Accept-Encoding
header: Age: 282
header: Cache-Control: private
header: Content-Encoding: gzip
header: ETag: W/"3c4ca-KFkajDPKyuxXFTId4DKqplykbAg"
header: Server: ATS
header: Set-Cookie: disco_client_id=5972fc09-023a-4311-8028-3d9faa145018; Max-Age=315360000
header: X-Content-Type-Options: nosniff
header: X-Dns-Prefetch-Control: off
header: X-Download-Options: noopen
header: X-Frame-Options: SAMEORIGIN
header: X-Request-Id: c426f871-ffed-45d0-991f-ca255f575412
header: X-The-Edge: Gloria
header: X-Xss-Protection: 1; mode=block
header: Vary: Authorization
header: X-Cache: Miss from cloudfront
header: Via: 1.1 9c6523da7343c5a4b25543811c29c4aa.cloudfront.net (CloudFront)
header: X-Amz-Cf-Id: rNwYzpWs7V3HKi3dOJbWjnGYnlf4eDqt0HuN40r1aGZr5h4b-vBGXQ==
[Discovery] savage-skills: Downloading JSON metadata
send: u'GET /anonymous?authRel=authorization&nonce=rWoLDkGwFScIJlPCddAtNEDTbwCYDaAq&redirectUri=https%3A%2F%2Ffusion.ddmcdn.com%2Fapp%2Fmercury-sdk%2F180%2FredirectHandler.html%3Fhttps%3A%2F%2Fwww.www.sciencechannel.com&client_id=3020a40c2356a645b4b4 HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: www.sciencechannel.com\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json; charset=utf-8
header: Content-Length: 1367
header: Connection: close
header: Date: Fri, 22 Feb 2019 19:07:30 GMT
header: Access-Control-Allow-Origin: http://www.sciencechannel.com
header: Age: 1
header: Cache-Control: private, max-age=0
header: Content-Encoding: gzip
header: ETag: W/"7b4-JZrf3CWDpXN5X2O+9JXGzu3+ixU"
header: Server: ATS
header: Set-Cookie: disco_client_id=b038ffbd-a69f-4fc9-936a-0132a869fbcc; Max-Age=315360000
header: X-Powered-By: Express
header: X-Request-Id: 73918b5c-2c34-42b0-bf5d-518db047b1bc
header: X-The-Edge: Gloria
header: Vary: Authorization
header: X-Cache: Miss from cloudfront
header: Via: 1.1 9c6523da7343c5a4b25543811c29c4aa.cloudfront.net (CloudFront)
header: X-Amz-Cf-Id: r9U1w2O4eAxP1duTkrA-7WhvNCGHekJbRzmy6IuQr3MipLpUdauOhw==
[Discovery] savage-skills: Downloading JSON metadata
send: u'GET /v1/streaming/video/5bda5e606b66d1232d248b8b HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: api.discovery.com\r\nAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpZCI6IjNjNmNhYWNkMzE3NTc0OTUyMzQxZjllYTAzNDExMzY5NmE0NzdlODkiLCJqdGkiOiIzYzZjYWFjZDMxNzU3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z2gfbKh0PYTpGnys4Z3XZdKxAvVL5VBKuQpJMsuqfqZ7e6ySk911QLLSY2S-VpFuuFSUFnBoPr-_cP7jHDHEmGZNgyX_qbPyEjJGZaXAsDFRiSe0DMHPvX-bAOn1GBYjoyE_m_G1ZB7UaSfEeqbzMAiKDUTASwcvU5XD0DT0FDO6XZDjf4ukKFtFB7FZGsZrezZDiaWY7UG8mVHHmpocqvj_30cZwAYs9uxF2jnTN8AhjkWnPVyGS80SD3gj3qUOnyNBzRmbRGZNGWGL8nnt-Mtb66rT2zGZzvBa6mkg1E_qInaHhK_TlbRM5k98DVPUvm5cIGaRnz_T9EaUns8_A1u1mzUI67a75YJonq4zbQfA_LLF1ezyA6ngN3xApOcS3q3bsnglB-C5j92IlFBx-AUqh0WKCpNZenIIothCP5tqKALdUBOhspxf7u1Vyfoy3jpBjgtUWGYAHSRx826M36gActDvxYq_LrQKRwJP7o2_e1Bgs\r\n\r\n'
reply: 'HTTP/1.1 403 Forbidden\r\n'
header: Content-Type: application/json
header: Content-Length: 132
header: Connection: close
header: Date: Fri, 22 Feb 2019 19:07:30 GMT
header: Access-Control-Allow-Headers: Authorization
header: Access-Control-Allow-Origin: *
header: Age: 0
header: Cache-Control: max-age=0, private
header: Content-Encoding: gzip
header: Server: ATS
header: X-Access-Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpZCI6IjNjNmNhYWNkMzE3NTc0OTUyMzQxZjllYTAzNDExMzY5NmE0NzdlODkiLCJqdGkiOiIzYzZjYWFjZDMxNzU3NDk1MjM0MWY5ZWEwMzQxMTM2OTZhNDc3ZTg5IiwiaXNzIjoiaHR0cHM6XC9cL2xvZ2luLmRpc2NvdmVyeS5jb20iLCJhdWQiOiIzMDIwYTQwYzIzNTZhNjQ1YjRiNCIsInN1YiI6eyJmbG93IjoiYW5vbnltb3VzIiwiYXV0aGVudGljYXRvciI6IkRpc2NvdmVyeSIsInV1aWQiOiJFT1MtVVNOZXRzIChXZWJcL1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N8AhjkWnPVyGS80SD3gj3qUOnyNBzRmbRGZNGWGL8nnt-Mtb66rT2zGZzvBa6mkg1E_qInaHhK_TlbRM5k98DVPUvm5cIGaRnz_T9EaUns8_A1u1mzUI67a75YJonq4zbQfA_LLF1ezyA6ngN3xApOcS3q3bsnglB-C5j92IlFBx-AUqh0WKCpNZenIIothCP5tqKALdUBOhspxf7u1Vyfoy3jpBjgtUWGYAHSRx826M36gActDvxYq_LrQKRwJP7o2_e1Bgs
header: X-The-Edge: Gloria
header: X-Cache: Error from cloudfront
header: Via: 1.1 e5762b967e9db8eb95612b463832ac3a.cloudfront.net (CloudFront)
header: X-Amz-Cf-Id: jQJAAlcOuIMQRo40z8UPOgtlKcuk4KJx9dIwvufUVxgRroH9wF2qMw==

Description of your issue, suggested solution and other information

Attempting download from science channel.com using Adobe Pass results in a 403 Forbidden.

I included --print-traffic to see where exactly the 403 was originating from and that output is included in the log paste.

If I've missed something obvious in my post please accept my apologies in advance.

Thank you

@dnlzzxz
Copy link

@dnlzzxz dnlzzxz commented Feb 22, 2019

Hello friend, currently the AdobePass option isn't working for discovery network channels or national geographic.

Use COOKIES instead, for that you'll need to download a browser extension called "cookies.txt" then, you'll log with your credentials on the science channel as usual, then click in the extension and click in download all cookies. Then save the cookies.txt file in the folder you're going to run youtube-dl. In the youtube-dl command-line add the parameter --cookies then reference the cookies by putting cookies.txt in front of the parameter and be good to go.

example:youtube-dl --cookies cookies.txt <your link>

That way you'll be able to download up to 3 episodes each time, then you'll have to refresh the page and download your cookies again replacing the old one.

Don't forget to close the issue.

@tkirkland
Copy link
Author

@tkirkland tkirkland commented Feb 23, 2019

Thank you for the kind and concise.reply.

@tkirkland tkirkland closed this Feb 23, 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.