Minor update to crawler.
This commit is contained in:
parent
1f6eb59e11
commit
55fb0c3b84
1 changed files with 2 additions and 1 deletions
3
c/cr.c
3
c/cr.c
|
@ -656,7 +656,8 @@ int main(int argc, char **argv)
|
|||
|
||||
int skip = 0, titlechanged = 0, escape = 0, escapetotal = 0, redirected = 0;
|
||||
//Check if noindex and size
|
||||
if(((noindex == 0 /*&& bodysize < 1900000*/ && bodysize > 10) || (noindex == 0 /*&& bodysize < 1900000*/ && descriptionsize > 10)) && response_code == 200 && alreadydone==0)
|
||||
//if(((noindex == 0 /*&& bodysize < 1900000*/ && bodysize > 10) || (noindex == 0 /*&& bodysize < 1900000*/ && descriptionsize > 10)) && response_code == 200 && alreadydone==0)
|
||||
if((emptytitle == 0 || descriptionsize > 0 || bodysize > 0) && response_code == 200 && alreadydone==0 && noindex == 0)
|
||||
{
|
||||
//=================Allocate memory for the parsed text from htmlparse()
|
||||
//title = (char*)calloc(titlesize+1,sizeof(char));
|
||||
|
|
Loading…
Add table
Reference in a new issue