[]
վ=QQԭƵ
վַ=http://bookapp.book.qq.com/
=С˵
=GB2312
ʹ÷Cookie=
Ŀ¼ַʶ=workintro/(\d+)/work_(\d+)$$$$$disp_workintro\?workid=(\d+)$
½ڵַʶ=workid=(\d+)&chapterid=(\d+)$$$$$lz_showvip
С˵Ϣ=class=\"co_1\">(#,.*?)<\/a>$$$$$entry-title\">(#,.*?)<\/h1>$$$$$$<\/span>\s+<p>(#,[\s\S]*?)<a$$$$$<\/h1>(#,[\s\S]*?)<a href='\/cgi-bin\/disp$$$$$<p>(#,[\s\S]*?)<div id="focus_modify_chapter">$$$$$<img src="(#)".*?focus_book_img
С˵Ϣ滻=<a href='/cgi-bin/disp$$$$$#space
ȡбִнű=
ץȡ=2
ʹIE=
ݽȡʼ1=location='
ݽȡʼ2=content">
ݽȡ1=';</
ݽȡ2=var cz = getCookie
Ҫ滻ַ=#space$$$$$#space
ַ=http://bookapp.book.qq.com/cgi-bin/searchwork?searchwhat=$key&searchtype=2&type=name
ַ_=http://bookapp.book.qq.com/book_list/0_0_1_0.htm
ַ_=http://bookapp.book.qq.com/inc/ph_new_click_day_1.htm
=GB2312
POST=
бʼ=r WorkArray
б=Work(
б=Array\(.*?,.*?,"(#ַ,.*?)","(#,.*?)",.*?,"(#½,.*?)",.*?,.*?,"(#,.*?)",
Ŀ¼ַ滻=(reg)^(\d+)$$$$$http://bookapp.book.qq.com/cgi-bin/disp_workintro?workid=$1
ҳ=0
sort=999
{script}
#language pascal
//ʼʼ
function MYBeforeBookInit:boolean;
var 
	maxretry : integer;
	retry	 : integer;
	content  : string;
begin
	if pos('disp_workintro', _DATA.url)>0 then
	begin
		//ȡϵͳõ
		maxretry	:= strtoint(CFG('Download', 'MaxReTryCount', '10'));
		retry		:= 0;
		//ҳĿ¼ҳԴ.
		repeat
			content := Down(_DATA.url, 'CHECK');
			if _GET.responseCode<>200 then
			begin
				ClearDownCache;
				LG('ȡϢʧܣԵ '+inttostr(retry)+' ...');
				inc(retry);
			end;
		until(_GET.responseCode = 200)OR(maxretry<retry);
		if pos('window.location=''', content)>0 then
		begin
			_DATA.url := getmidstr(content, 'window.location=''', ''';');
		end;
	end;
	result := true;
end;

function MyBeforeGetChapter(html:string):boolean;
begin
	html := regreplace(html, '½ڣ<a[\S\s]*?</a>', '');
end;

function MyBeforeRead(var content:string;nowurl:string;repeatindex:integer):boolean;
begin
	content := replace(content, '\"', '');
end;


begin
end.

{/script}