About: dbkwik:resource/Hus46okmwvppfiO6PympAg==   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

AttributesValues
rdfs:label
  • Twitpic.dms
rdfs:comment
  • Irvineを使ってTwitpicの画像を落とすためのスクリプト。サムネイル画像が表示されるページや、URLが貼られたTwitterのページから「IrvineへすべてのURLを送る」で使う。FULL SIZE画像を落とせるように改良。本スクリプトは「t-co.dms」からの呼び出しにも使われる。2012年11月28日以降にFULL SIZE画像を落とせない様になった仕様変更にも対応。 1. * ここからIrvineとDorothy2.zipをDL、インストールする 2. * 「(Irvineが有るフォルダ)¥Dorothy2¥program¥」に「twitpic.dms」を以下の内容で作成する 3. * Irvineを起動後、上記サイトに出てる設定を行う 4. 1. * 「ツール」→「メインメニュー」→「動画ダウンロード2設定」で「twitpic」にチェックを入れて、「ファイル」→「保存して終了」をクリック、それ以外は同様 5. * 後は、ほぼ上記サイトの説明通り //Dorothy2 //caption=twitpic //version=0.02 //hint=twitterのページ・twitpicのサムネイルページからURLを渡してください //match=http://(www.)?twitpic.com/ //author=Abcdefgh //path=program //priority=500 //end //created 22,Jan.,2011 by Abcdefgh //modified 17,May.,2011 by Abcdefgh //modified 07,Jan.,2012 by Abcdefgh //modified 09,Nov.,2012 by Abcdefgh //ファイル
dcterms:subject
abstract
  • Irvineを使ってTwitpicの画像を落とすためのスクリプト。サムネイル画像が表示されるページや、URLが貼られたTwitterのページから「IrvineへすべてのURLを送る」で使う。FULL SIZE画像を落とせるように改良。本スクリプトは「t-co.dms」からの呼び出しにも使われる。2012年11月28日以降にFULL SIZE画像を落とせない様になった仕様変更にも対応。 1. * ここからIrvineとDorothy2.zipをDL、インストールする 2. * 「(Irvineが有るフォルダ)¥Dorothy2¥program¥」に「twitpic.dms」を以下の内容で作成する 3. * Irvineを起動後、上記サイトに出てる設定を行う 4. 1. * 「ツール」→「メインメニュー」→「動画ダウンロード2設定」で「twitpic」にチェックを入れて、「ファイル」→「保存して終了」をクリック、それ以外は同様 5. * 後は、ほぼ上記サイトの説明通り //Dorothy2 //caption=twitpic //version=0.02 //hint=twitterのページ・twitpicのサムネイルページからURLを渡してください //match=http://(www.)?twitpic.com/ //author=Abcdefgh //path=program //priority=500 //end //created 22,Jan.,2011 by Abcdefgh //modified 17,May.,2011 by Abcdefgh //modified 07,Jan.,2012 by Abcdefgh //modified 09,Nov.,2012 by Abcdefgh //ファイル名の単純変換が不可能な為 //t-co.dmsから呼び出される function(){ println('twitpic.dms start'); // 画像紹介ページURLをFULL SIZEページのURLに変換 headers.Referer = urlinfo.url; var url = new URL(urlinfo.url + '/full'); urlinfo.url = url.url; headers.host = url.host; // FULL SIZEページをダウンロード common_load('download'); var http = download(urlinfo.url); if(http.responseHeader.code != 200){ return retry('error--->' + http.responseHeader.code); } // 本画像URLを抽出 if (!http.data.match(/src=\"([^"]+(full|large|scaled)[^"]*[.](jpg|png|gif)[^"]*)\"/)) { println('error---> オリジナルサイズの画像が見つかりません'); exit(); } var title=RegExp.$1; headers.Referer = urlinfo.url; var url = new URL(title); urlinfo.url = url.url; headers.host = url.host; //ファイル名を抽出 if (!title.match(/([^\/?]+)([?].+)?$/)) { println('error---> ファイル名が見つかりません'); exit(); } Dorothy.fileName = RegExp.$1; }
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software