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

feature request add support for http://you.rtl2.de/ #10257

Closed
timo13235 opened this issue Aug 7, 2016 · 1 comment
Closed

feature request add support for http://you.rtl2.de/ #10257

timo13235 opened this issue Aug 7, 2016 · 1 comment

Comments

@timo13235
Copy link

@timo13235 timo13235 commented Aug 7, 2016

  • 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 that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.08.07. 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 2016.08.07

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

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 site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

Hi, hope ive done this new questionnaire correct... i wasnt sure if i should include it or just check it for my own.

I have found out how i can download videos from http://you.rtl2.de/ on which are manny full episodes. First of all i have to look for the iframe leading to a page like: http://you.rtl2.de/youplayer/index.html?vid=7980 , then i have to open that page in opera or crome and open the development tool with the network view, switch to persistant mode, disable cache (maybe works also with) and click to all given parts (Teil 1 and Teil 2 in german) for all parts in the network view under category xhr a file beginning with master.m3u8 will appere. This file can be saved (to its on directory because of youtube-dl wount download files with the same name again and they are all the same), all lines but the lines with the best quality listed can be deletet and then the content can be retrived using:

youtube-dl -a master3.m3u8

it would be grate if you could add this page to automatisate theese steps.

thanks in advacne

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Dec 21, 2016

i found a problem here, the site used CryptoJS To decrypt the url, but trying to do the same thing using aes_cbc_decrypt does not work.
this is the code for decryption(after deobfuscation):

window.youStreamDecrypt = function(b) {
    var a = new window.ysd;
    if (a.inArray(a.tld, ["rtl2.de", "rtl2apps.de", "umwerk.me"])) {
        a = CryptoJS.enc.Base64.parse("6VfkLjwquBrStpLzQ9PvTBsDKrtiSMAD/2/C8iiqqiE=");
        b = CryptoJS.enc.Utf8.stringify(CryptoJS.enc.Base64.parse(b));
        streamUrlSplit = b.split(":");
        b = streamUrlSplit[0];
        var c = CryptoJS.enc.Base64.parse(streamUrlSplit[1]),
            a = CryptoJS.AES.decrypt(b, a, {
                iv: c
            });
        return b = CryptoJS.enc.Utf8.stringify(a)
    }
    console.log(a.msg)
};

as an example feeding the function(after removing the part that protect the code from the use by other domains) with

aWRwRGZmZE1KMUFYNFQxSllaa3RvNGl5WjBqaS8rSks4NHFkaEdyYVZ2K2NRcVF1clc4Zm9TKzhoVk52YXhYc3RCeVFTMmZUK3FzZG1zb3VoODZ1TldVN3pOcS9Wb0s1aG9QQm1RTkF4REZDbXlwN1VzTWkxNnUvNCthNE9jTm94RHk5TUJwc2VCZnM5a1o3OUl1bmk0dDJhVS9lOGVUejRxMEdqb3p2aEdKWG4wUmRCMHd0dmlyTytHdThUanhYV0dIZnkvaVZWTzgxN0p1QmMvN1VBUVljSy8vcldSNHBRY3BOZytZUWs2UnczWVpEOUl3ZWw2Q2cxQVFFajZwcGRTSkR6NEd3QjNNdU9SZzIzdWdreSt3d3Vya3orZWlnTG96MVRlalAyVFBWOHVGKzBoQU1heUZ6Mm5kOW91Z0FTY252K3JUVnArejVFdjdrSy9vWW1CYUFFT251V2hUZitmM1NWQzRkSytBPTpVL1g5TDYxd0JWWVp1VWpTZ1JyWlJBPT0=

will result in: http://youvodfree-vh.akamaihd.net/i/delivery/0b/93/0b93c2d4-1c56-415f-b87b-3c74aab17635/01SU2HR152T11WVN_,65,1350,250,2350,3850,1000,650,k.mp4.csmil/master.m3u8?hdnts=exp%3D1482342287~acl%3D%2F%2A~hmac%3De5fd02a0e7f3b12da0605d4ca586f85cac92441310e19004038df146225985f4

@remitamine remitamine closed this in b68e00b Apr 3, 2017
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.