Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Trying to make an IE for pbs.org #873
Comments
|
You should look into http://video.pbs.org/videoPlayerInfo/2365006249, I think the |
|
@jaimeMF you are right. It is an AES encrypted string which on decryption gives us the link to the rtmp file. We need python's pycrypto module but it is not preinstalled with python. What do you suggest ? Should i go forward and make an IE for it ? |
|
Huff trying to decrypt it was extremely difficult but it was making me curious so I spent whole day to decrypt it and on the way i learned a lot about AES. My test code is
so what do you say now ? I took a little help from http://stackoverflow.com/questions/11499224/aes-decryption-using-pycrypto and another perl script (I dont know perl :p ) (@jaimeMF @phihag @FiloSottile) |
|
The plaintext = plaintext[:-ord(plaintext)] |
|
The problem now is that we can't depend on external libraries... I'm tempted to implement a Public Domain AES. |
|
okay i guess thats the way to go then. But who is gonna find and implement it now ? |
|
I have a CBC implementation somewhere, and I love implementing crypto stuff So I'll probably do it, but not this week I'm afraid (exams!) |
|
lolz yup you can screw :D and btw it doesnt matter you can do it next week. I can wait . |
|
You don't need to decrypt the releaseURL, you simply have it decrypted at http://video.pbs.org/videoInfo/<>/?format=jsonp&callback=video_info. Anyway, in php the code $releaseurl=explode("$",$releaseurl); $key = 'RPz~i4p*FQmx>t76'; //
|
|
Mistake: you don't have the same redirected url but 2. The first one (releaseURL) gives you a rtmp link, but the json a direct download link, although from one to the other the conversion it's easy |
|
@denobis thanks for the hint, an extractor has been added. |
Hey now i am making an IE for pbs.org . Right now i am using this video for testing [http://video.pbs.org/video/2365006249/] . While monitoring the network calls i got this call
The response received from this call gives the rtmp url but i am not able to figure out where does "dbca29b492624eb0a6205356b24c331b" in the url come from. I hope someone can provide me a friendly response so that i can make an IE for pbs.org . It was a feature request by someone #870
( @FiloSottile @jaimeMF )