08/10/17 00:07:25 g2bRuG+U0
>>115
IE専用。
[Patterns]
Name = "Nico: Ranking 1line -> 2line (081016)"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)www.nicovideo.jp/ranking/"
Limit = 2048
Match = "(<div\sid=$AV(ranking_categories)[^>]+>)\#$SET(#=\n<style type="text/css"><!--\ntd.data { width:100%; word-break:break-all; }\n p.res { width:95%; }\n--></style>\n)"
"|cellpadding=$AV(4)(\ssummary=$AV(*)\sstyle=$AV(margin-bottom:16px;)>)\0$SET(#=cellpadding="0"\0\n<tr>)"
"|(<td[^>]++|<table)\#\swidth=$AV(560|112|448)|width:104px;\s|width:(104|440)px;\s"
"|(<tr[^>]+> $NEST(<td\swidth=$AV(*),</td>) $NEST(<td,</td>) )\0</tr>"
"$SET(#=<td width="50%">\n<table cols="2" border="0" cellspacing="0" cellpadding="4">\0</tr ></table>\n</td>)"
"|$NEST(<tr><td\scolspan=$AV(2)>,</tr>)$SET(line=$GET(line)1)|$TST(line=11)$SET(line=)"
"$SET(#=</tr>\n<tr><td colspan="3"><p class="dot_2"><img src="URLリンク(res.nicovideo.jp)" alt="" width="2" height="2"></p></td></tr>\n<tr>)"
"|(<p\sclass=$AV(TXT12)><strong>[0-9]++:[^<]+</strong></p>)|(\(\s<strong>[^<]+</strong>\spoint\s\))"
"|($NEST(<p,\sclass=$AV(TXT12)> (^[%e5][%86][%8d][%e7][%94][%9f]|<)*,</p>))\#|($NEST(<p,\sclass=$AV(res)*,</p>))"
"|(font-size:)\#(32px$SET(#=16px)|12px$SET(#=10px))|(class=$AV(TXT12))$SET(#=class="TXT10")"
"|$NEST(<td,\swidth=$AV(240)*,</td>)$STOP()"
Replace = "\@"