⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 specbuf.cc

📁 larbin是一种开源的网络爬虫/网络蜘蛛
💻 CC
字号:
// Larbin// Sebastien Ailleret// 09-12-01 -> 10-12-01/* this module defines how specific pages are handled * the following functions must be defined : * - initSpecific : this function is called when larbin is launched. This *     must be a function because it is defined in file.h. * - constrSpec : this function is called in the constructor of class html * - newSpec : a new specific page has been discovered * - pipeSpec : some data has arrived on the stream * - endInput : the end of the input : be careful, this function *     might not be called in case of timeout or other reasons * - getPage : someone needs the content of the page * - getSize : gives the size of the document * - destructSpec : this function is called in the destructor of class html * * All this function are only called if SPECIFICSEARCH is defined * constrSpec is called for every page * other functions are only called if state==SPECIFIC */#ifdef SAVE_SPECIFIC#include "fetch/savespecbuf.cc"#elif defined(DYNAMIC_SPECIFIC)#include "fetch/dynamicspecbuf.cc"#else // DEFAULT_SPECIFIC#include "fetch/defaultspecbuf.cc"#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -