diff --git a/plugin/js/parsers/FoxaholicParser.js b/plugin/js/parsers/FoxaholicParser.js index bcc4b189..fdf0940a 100644 --- a/plugin/js/parsers/FoxaholicParser.js +++ b/plugin/js/parsers/FoxaholicParser.js @@ -1,6 +1,9 @@ "use strict"; -parserFactory.register("foxaholic.com", () => new FoxaholicParser()); +parserFactory.registerUrlRule( + url => (util.extractHostName(url).endsWith("foxaholic.com")), + () => new FoxaholicParser() +); class FoxaholicParser extends WordpressBaseParser{ constructor() {