fix: added check for mojeek to response_looks_like_results_page
This commit is contained in:
parent
0fe6db3fc1
commit
8d94c15b13
1 changed files with 5 additions and 0 deletions
|
|
@ -49,6 +49,11 @@ static int response_looks_like_results_page(const ScrapeJob *job,
|
||||||
response_contains(response, "compText");
|
response_contains(response, "compText");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (strcmp(job->engine->name, "Mojeek") == 0) {
|
||||||
|
return response_contains(response, "class=\"results-standard\"") ||
|
||||||
|
response_contains(response, "Mojeek Search");
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue