#CosmicScript Ver1.0 #mainichi.co.jp用CosmicScript connect #接続 setvar,char_code,SJIS #文字コードをShift-JISに設定 setvar,time_out,180000 #タイムアウト時間を180秒に設定 setvar,title_start, #タイトル部開始文字列指定 setvar,title_end, #タイトル部終止文字列指定 setvar,txt_start,
#取得部分開始文字列指定
setvar,txt_end,
#取得部分終止文字列指定
setvar,title_prefix,■
#タイトル冒頭に付ける文字列の指定
setvar,idx_start,
#リンク取得部分開始文字列指定
setvar,idx_end,
#リンク取得部分終止文字列指定
go,www.mainichi.co.jp
#サーバに接続
getindex,/news/flash/shakai/,F1:\MAI\SYAKAI.TXT
getindex,/news/flash/seiji/,F1:\MAI\SEIJI.TXT
getindex,/news/flash/keizai/,F1:\MAI\KEIZAI.TXT
getindex,/news/flash/sports/,F1:\MAI\SPORTS.TXT
getindex,/news/flash/kokusai/,F1:\MAI\KOKUSAI.TXT
getindex,/news/flash/jinji/,F1:\MAI\JINJI.TXT
setvar,idx_start,
#リンク取得部分開始文字列変更
setvar,idx_end,
#リンク取得部分終止文字列変更
disconnect
#切断