rg3/youtube-dl — pull request #900 by jaimeMF (2013-06-21 19:59:39+00:00)
Title: YoutubeIE: Detect new Vevo style videos

The url_encoded_fmt_stream_map can be found in the video page, but the signature must be decrypted, we get it from the webpage instead of the `get_video_info` pages because we have only discover the algorithm for keys with both sub keys of size 43.

This should fix #897, I've tested with a few videos and it has worked.
Thanks to all the people that has contributed test videos and specially to @speedyapocalypse for getting all the example keys and @FiloSottile for solving the algorithm.

Some things that should be improved:
* The function for decripting the key should be in a better place, maybe as a staticmethod of the extractor.
* The algorithm should be documented, probably with a good example.