mirror of
https://git.bwaaa.monster/omnisearch
synced 2026-03-25 17:19:02 +02:00
fix: added check for mojeek to response_looks_like_results_page
This commit is contained in:
@@ -49,6 +49,11 @@ static int response_looks_like_results_page(const ScrapeJob *job,
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user