l1ving_youtube-dl/test/swftests/StringCharCodeAt.as
rigstot 631e20d92a implement ThisVid extractor
deobfuscates the video URL using a reverse engineered version of KVS
player's algorithm. This was tested against version 4.0.4, 5.0.1 and
5.1.1.4 of the player and a warning will be issued if the major version
changes.
2020-07-19 14:58:19 +02:00

12 lines
206 B
ActionScript

// input: []
// output: 9897
package {
public class StringCharCodeAt {
public static function main():int{
var s:String = "abc";
return s.charCodeAt(1) * 100 + s.charCodeAt();
}
}
}