Add generator fingerprint for invision.

This commit is contained in:
Viktor Lofgren 2023-07-01 14:47:57 +02:00
parent a000256223
commit eda615de0f

View File

@ -96,6 +96,10 @@ public class DocumentGeneratorExtractor {
return DocumentGenerator.of("xenforo"); return DocumentGenerator.of("xenforo");
} }
if (!doc.getElementsByClass("ipsApp").isEmpty()) {
return DocumentGenerator.of("invision");
}
return DocumentGenerator.unset(); return DocumentGenerator.unset();
} }
@ -172,7 +176,8 @@ public class DocumentGeneratorExtractor {
"notepad", "namo", "arachnophilia", "scite", "notepad", "namo", "arachnophilia", "scite",
"alleycode", "htmlkit", "acehtml", "bluefish", "htmled", "cutehtml", "fileedit", "cocoa" "alleycode", "htmlkit", "acehtml", "bluefish", "htmled", "cutehtml", "fileedit", "cocoa"
-> GeneratorType.MANUAL; -> GeneratorType.MANUAL;
case "vbulletin", "phpbb", "mybb", "nodebb", "flarum", "tribe", "discourse", "lemmy", "xenforo" case "vbulletin", "phpbb", "mybb", "nodebb", "flarum", "tribe",
"discourse", "lemmy", "xenforo", "invision"
-> GeneratorType.FORUM; -> GeneratorType.FORUM;
case "mediawiki", "dokuwiki", "sharepoint" case "mediawiki", "dokuwiki", "sharepoint"
-> GeneratorType.WIKI; -> GeneratorType.WIKI;