Gyao関係のツールなど
パソコンテレビGyao を便利に使うツールなど
CSS
以下のソースを gyao.css などとして保存
→ インターネットオプション → 全般 → ユーザー補助 → ユーザースタイルシート
→ 自分のスタイルシートでドキュメントの書式を設定するにチェック → gyao.cssを選択
object{behavior:expression(
function(elem){
if(elem.classid.toUpperCase()=="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"){
if(window.location.href.indexOf("http://www.gyao.jp/")==0) {
elem.enableContextMenu=true;elem.uiMode="full";
elem.attachEvent("OpenStateChange",function(newstate){
if(newstate==13){
var vol=(currentMedia.getItemInfo("WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_URL").indexOf("AdvId")>0)?10:100;
elem.settings.volume=vol;
window.setTimeout(function(){elem.settings.volume=vol;},10);
}});}}}(this));}
script{behavior:expression(
function(elem){
if(window.location.href.indexOf("http://www.gyao.jp/")==0&&elem.htmlFor.toLowerCase()=="player"&&elem.event.toLowerCase()=="click()") {
elem.event="";
}}(this));}
body{behavior:expression(
function(elem){
if(window.location.href.indexOf("http://www.gyao.jp/")==0) {
with(elem){
onkeydown=onkeyup=onkeypress=ondblclick=ondragstart=oncontextmenu=onselectstart=null;
if(currentStyle.scrollbarFaceColor){runtimeStyle.scrollbarFaceColor="darkgray";}
}
if(window.PosMove){window.PosMove=function(){return false;};}
if(document.getElementById("progress")){document.getElementById("progress").runtimeStyle.display="none";}
}}(this));}
GExplorer
2.0.8.0 yasi0047.zip
WaoPlayer
ttp://waoplayer.seesaa.net/
GyaoReader
ttp://pcbase.web.infoseek.co.jp/gyao/index.htm
GetASFStream
ttp://tetora.orz.ne.jp/forum/gasdown/download.cgi
GyaOでGASを使う場合に必須の設定
共通項目
「ライブ連続取込回数設定」を適宜大きくする
個別項目2
DL完了後、強制的に次のデータを読み込んでみる
ファイル名設定
DLする前にファイル名を指定する
同名ファイルが存在する場合連番を付加する
GASに入力するアドレスについて
鯖の仕様変更により asx.php のアドレスを直接入力するとダウンロードできなくなりました。
GyaO でダウンロードツールによるプロトコル解析を使うと
rpc_sequence の重複により GAS を使っていることが簡単にばれてしまいます。
それゆえこのスレでは cnt2rtsp20060707.js を使うことを推奨します。
// cnt2rtsp20060707.js
// 使い方の例
// wscript.exe cnt2rtsp20060707.js cnt0123456
// GEの外部コマンド
// 表示名: なんでもいい
// 実行ファイル: wscript.exe
// 引数: cnt2rtsp20060707.js {ContentId}
//設定ここから
var curDir = "C:Program FilesWindows Media Player";//実行ファイルのある場所
var exeFile = "wmplayer.exe";//実行ファイル名
var rateId = "bit0000002";//ビットレート 768kbps:bit0000002, 384kbps:bit0000001
//設定ここまで
if (WScript.Arguments.Count()<1){
WScript.Echo("コンテンツIDが指定されていない");
WScript.Quit();
}
var cntId = WScript.Arguments.Item(0);
var judgeCookieUrl = "http://www.gyao.jp/login/judge_cookie/?contentsId=" + cntId + "&rateId=" + rateId + "&login_from=shityou&chapterNo=&recommend=&contents_id=";
var re1 = /[^"]+asx.php[^"]+/;
var re2 = /[^"]+gyaovod[^"]+/;
try {
var xmlhttp = new ActiveXObject("MSXML2.XMLHTTP");
xmlhttp.open("GET", judgeCookieUrl, false); xmlhttp.send();
xmlhttp.open("GET", xmlhttp.responseText.match(re1)[0], false); xmlhttp.send();
var videoUrl = xmlhttp.responseText.match(re2)[0];
var shell = WScript.CreateObject("WScript.Shell");
shell.CurrentDirectory = curDir;
shell.Run(exeFile + " " + videoUrl);
}catch (e){
WScript.Echo(e.message);
}
// cnt2rtsp20060823.js
// 使い方の例
// wscript.exe cnt2rtsp20060823.js cnt0123456
// GEの外部コマンド
// 実行ファイル: wscript.exe
// 引数: cnt2rtsp20060823.js {ContentId}
//設定ここから
var curDir = "C:Program FilesWindows Media Player";//実行ファイルのある場所
var exeFile = "wmplayer.exe";//実行ファイル名
var rateId = "bit0000002";//ビットレート 768kbps:bit0000002, 384kbps:bit0000001
//設定ここまで
if(WScript.Arguments.Count()<1){
WScript.Echo("コンテンツIDが指定されていない");
WScript.Quit();
}
var cntId = WScript.Arguments.Item(0);
var url = "http://www.gyao.jp/login/judge_cookie/?contentsId=" + cntId + "&rateId=" + rateId + "&login_from=shityou&chapterNo=&recommend=&contents_id=";
try{
var xmlhttp = new ActiveXObject("MSXML2.XMLHTTP");
xmlhttp.open("GET", url, false); xmlhttp.send();
if(xmlhttp.responseText.indexOf("adult_error")>=0){
url += "&check_flg=0";
xmlhttp.open("GET", url, false); xmlhttp.send();
}
url = xmlhttp.responseText.match(/[^"]+asx.php[^"]+/)[0];
xmlhttp.open("GET", url, false); xmlhttp.send();
url = xmlhttp.responseText.match(/[^"]+gyaovod[^"]+/)[0];
var shell = WScript.CreateObject("WScript.Shell");
shell.CurrentDirectory = curDir;
shell.Run(exeFile + " " + url);
}catch(e){WScript.Echo(e.message);}
以上2chより抜粋
(´・ω・`)ランキングへ

コメントする