Google、Yahoo特殊検索のリンク先に転送するProxomitronフィルタ
「Google: Jump special search」を更新および、YahooでWeb検索したときにYahoo ダイレクト検索のリンク先に転送するフィルタを作成しました。
更新点- Googleの仕様変更 (<p class=e> → <div class=e>) に対応
[Patterns]
Name = "Yahoo: Redirect direct search [2008/02/08] test2"
Active = TRUE
URL = "$TYPE(htm)search.yahoo.co.jp/search(\?|/dir\?)"
Limit = 4096
Match = "(^(^$NEST(<div\s,"
"[^>]++id=$AV(yschDD)*"
"<a\s[^>]++href=$AV((http://wrs.search.yahoo.co.jp/*/\*-http(%3A|:)//rd.yahoo.co.jp/search/direct/*)\0)"
"*,</div>)))$STOP()"
Replace = "\k<meta http-equiv="refresh" content="0; url=\0" />"
Name = "Google: Jump special search [2008/02/07] test1"
Active = TRUE
URL = "$TYPE(htm) www.google.co(m|.jp)/search\?"
Limit = 1024
Match = "(^(^"
"<div\sclass=$AV(e|g(^?)$STOP()(^(^?)))>[^<]+"
"(<(^table[ >])[^>]+>[^<]+)+"
"<table\s[^>]+><tr><td\s[^>]+><img\s[^>]+></td><td\s[^>]+>[^<]+"
"(<(^a\s|/td>)[^>]+>[^<]+)+<a\s[^>]++href=$AV(((/url\?url\=|)http://*)\0)[ >]"
"))$STOP()"
Replace = "\k<meta http-equiv="refresh" content="0; url=\0" />"
ラベル: Proxomitron, フィルタ
0 件のコメント:
コメントを投稿
登録 コメントの投稿 [Atom]
<< ホーム