Irvine Part30at WIN
Irvine Part30 - 暇つぶし2ch309:名無し~3.EXE
12/12/17 21:43:36.85 KQH8aG7r
//Dorothy2
//caption=ameblo.jpの画像
//version=0.01
//match=URLリンク(ameblo\.jp)
//author= 
//path=program
//priority=500
//end
function(){
common_load('download', 'character_references');
var id = urlinfo.url.match(/\/([^\/]+)\/image-(\d+)-(\d+)\./) ? (RegExp.$1 + ' ' + RegExp.$2 + ' ' + RegExp.$3) : '?';
var http = download(urlinfo.url);
if (http.responseHeader.code != 200) { println("error---> " + http.responseHeader.code); exit(); }
var url = http.data.match(/"current":.*?"imgUrl":"([^"]+)"/) ? (new URL('URLリンク(stat.ameba.jp)')).expand(RegExp.$1) : '';
if (!url) { println("error---> url not found."); exit(); }
var title = http.data.match(/<h1[^>]*><a[^>]*>(.*?)</) ? character_references(RegExp.$1.fromUTF8toSJIS()) : '';
var ext = File.extractExt((new URL(url)).filename);
Dorothy.fileName = changeFileName('ameblo ' + id + ' ' + title + ext);
headers['Referer'] = urlinfo.url;
urlinfo.url = (new URL(url)).url;
headers['Host'] = (new URL(urlinfo.url)).host;
}


次ページ
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch