This algorithm downloads the given Youtube video to the DataAPI. The video has to be licensed exclusively with Creative Commons license. The first link is the Youtube link and the second link is the target Data url. You can also specify a resolution with e.g. "res":"720p". If resolution is not specified, the algorithm tries these resolutions in this order: '720p', '360p', '240p', '1080p'.