>>819
https://stackoverflow.com/questions/43814283/this-request-requires-a-matching-csrf-cookie-and-header-353-code-error-on-twitt
>that Bearer string never changes on twitter it's always the same

//Dorothy2
//caption=test
//version=test
//match=https://api\.twitter\.com/1\.1/videos/tweet/config/[0-9]+\.json
//author=test
//end
function(){
common_load('download');
var http = download(urlinfo.url, true, {'authorization' : 'Bearer 上のスレッドで書かれている114バイトのbearer文字列'});
println('■ jsonの内容>' + http.data);
http.data.match('playbackUrl":"([^"]+)');
var url = new URL(RegExp.$1.replace(/\\\//g, "/"));
println('■ m3u8のURL>' + url);
urlinfo.url = url.url;
headers.host = url.host;
}

これで例えば>>743
https://api.twitter.com/1.1/videos/tweet/config/986501787929665536.json
を取得できた