rwnning

所属分类:界面编程
开发工具:Visual C++
文件大小:191KB
下载次数:0
上传日期:2018-12-31 05:01:33
上 传 者tjmes
说明:  开源的Web蜘蛛程序,可以多线程现在Web页面,
(Open source Web spider program, can multithread now Web pages,)

文件列表:
getopt.c (40239, 2017-11-06)
getopt.h (6663, 2017-11-06)
hstlist.h (2087, 2017-11-06)
htmlfnct.h (7145, 2017-11-06)
list.h (1557, 2017-11-06)
misc.h (10349, 2017-11-06)
mysql.txt (411, 2017-11-06)
ndzlist.h (1659, 2017-11-06)
openspider.dsp (5532, 2017-11-06)
openspider.dsw (543, 2017-11-06)
openwebspider-0.1.c (8336, 2017-11-06)
openwebspidercgi (0, 2018-11-09)
openwebspidercgi\myhttpd.conf (1357, 2017-11-06)
openwebspidercgi\openwebspidercgi-0.1.c (2319, 2017-11-06)
openwebspidercgi\openwebspidercgi.dsp (4879, 2017-11-06)
openwebspidercgi\openwebspidercgi.dsw (555, 2017-11-06)
openwebspidercgi\screenshoot_cgiresult__key_eviltime.jpg (35167, 2017-11-06)
openwebspidercgi\screenshot_form.JPG (17877, 2017-11-06)
options.h (2121, 2017-11-06)
screenshoot_indicizing_eviltime.com.jpg (54016, 2017-11-06)
screenshoot_rt_searching_eviltime.com.jpg (36991, 2017-11-06)
screenshoot_searching_eviltime.com.jpg (64730, 2017-11-06)
snprintf.c (18923, 2017-11-06)
socket.h (2962, 2017-11-06)
sqlfnct.h (3029, 2017-11-06)
sqllib.h (1010, 2017-11-06)
strfnct.h (2599, 2017-11-06)
tdatabase.txt (436, 2017-11-06)

Little HOWTO: 1) How can I set MySql's password? mysqladmin.exe -u root -p password mysql Enter password: (I kept empty) (I used mysql as password) 2) How can I create the batabase for openwebspider? * mysqladmin -u root -p create spiderdb Enter password: 3) How can I create the tables? * Run mysql: mysql -u root -p Enter password: ***** mysql> And type in the prompt: create table wordlist(wordID bigint auto_increment, word char(30), primary key(wordID)); create table urllist (urlID bigint auto_increment, hostname TEXT, page TEXT, description TEXT, primary key(urlID)); create table mid (wordID bigint, urlID bigint); OK You are ready to go! :) 4) What kind of query does OpenWebSpider accept? For now it only accepts query like: key1,key2,key3 (list of keys separated by comma) 5) I can't compile openwebspider under windows! why? Damn, I knew!!! The fact is that under windows I can't know a priori in what dir mysql.h and libmysql.lib are located so you must specify them in the header file sqllib.h! How? let's see:(default sqllib.h(it's correct for me so...)) #pragma comment(lib,"D:\\mysql\\lib\\opt\\libmySQL.lib") #include "D:\\mysql\\include\\mysql.h" EOF You must replace "D:\\mysql" with the path of mysql in your computer 6) I compiled openwebspider under windows but when I try to launch it I get an error (is it DLL not found?)! why? It's cause you must copy path_of_mysql\lib\opt\libmysql.dll into %WINDIR%\system (<- I put it here) OR %WINDIR%\system32 * You can also create database and tables via openwebspider: openwebspider -c hostname username password name_of_database Hostname is the host where is running mysqld Username and password are intended as mysql's username and password (see 1 to set mysql's password) - How to contact me? shen139 @ eviltime [dot] com

近期下载者

相关文件


收藏者