[]
վ=ԭ
վַ=http://www.jjwxc.net/
=С˵
=GB2312
ʹ÷Cookie=
Ŀ¼ַʶ=onebook\.php\?novelid=(\d+)$
½ڵַʶ=/book2/(\d+)/(\d+)$$$$$/vip/(\d+)/(\d+)
С˵Ϣ=<title>(#,.*?)$$$$$飺(#,[\s\S]*?)<br><a$$$$$ - (#)</h2>
ȡбִнű=
ץȡ=1
ʹIE=
ݽȡʼ1=b module">
ݽȡ1=</ul>
ַ=http://www.jjwxc.net/search.php?kw=$key&t=1
=GB2312
POST=
бʼ=Ʒ 
б=
б=title"><a href="(#ַ,.*?)"  target="_blank">(#,.*?)</a[\s\S]*?class="intro">(#,[\s\S]*?)</[\s\S]*?class="info">[\s\S]*?k">(#,.*?)</a>$$$$$23">[^>]*?>(#,.*?)</a>[\s\S]*?<a href="(#ַ,.*?)" rel="(#,.*?)" class="tooltip">(#,.*?)</a>[\s\S]*?r">(#,[^<]*?)</td>[\s\S]*?r">(#,[^<]*?)</td>[\s\S]*?r">(#״̬,\D*?)</td>[\s\S]*?t">(#,\d+)&nbsp;&nbsp;</td>
ҳ=href=([^>]*?) title="һҳ
ҳ滻=(reg)^/s$$$$$http://www.jjwxc.net/s
ҳ=0
ѡ=лҪ˵||
sort=999
½ַ=http://www.mozhua.net/soft/cookie/jjwxc.htm
ҳַ={1,<a href="(/(book2|vip)/\d+/\d+/\d+)(\?ctime=\d+)?" class="(\w+)?">һҳ}?page_size=5000
{script}
#language pascal
//ʼʼ
function MYBeforeBookInit:boolean;
begin
	_GET.useragent := 'Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en)';
	_DATA.url := regreplace(_DATA.url, '\S+id=(\d+).*?', 'http://wap.jjwxc.net/book2/$1/');
	down(_data.url);
	if (F('Cookie')<>'')and(pos('page_size',F('Cookie'))=0) then F('Cookie', F('Cookie')+'; page_size=5000', '', true);
	result := true;
end;


//滻ҳ
function MyBeforeGetChapter(var content:string):boolean;
begin
	content := replace(content, '" class="">', '?page_size=5000">');
	content := regreplace(content, 'ctime=\d+" class="\w+">', 'page_size=5000">');
	result  := false;
end;


//ʼ
procedure MYAfterBookInit;
begin
	//ԭû
	_DATA.url := regreplace(_DATA.url, '\S+book2/(\d+)/', 'http://www.jjwxc.net/onebook.php?novelid=$1');
end;



procedure MybeforeSplitContent(var content:string;repeatindex:integer);
begin
	if(pos('ʹʢ֤ͨ¼', content)>0)then
	begin
		alert('VCookieѾʧЧŶֹͣץȡ~');
		stop;exit;
	end;
	if(pos('ɹ½б', content)>0)OR(pos('VIP',content)>0)then
	begin
		alert('صĻûйأȹ¿ʼأɾ½أ');
		stop;exit;
	end;
	authorsay := '';
	if F('_лҪ˵', '')='' then
	begin
		content := regreplace(content, '<hr[^>]*?>([\s\S]*?)</li>', '');
	end;
end;


function MyBeforeRead(var content:string;nowurl:string;repeatindex:integer):boolean;
begin
	content := regreplace(content, '<li[^>]*?>', '');
end;

begin
end.
{/script}
