mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
updating dependencies and fixing neubaukompass
This commit is contained in:
@@ -13,16 +13,16 @@ function applyBlacklist(o) {
|
||||
const config = {
|
||||
enabled: null,
|
||||
url: null,
|
||||
crawlContainer: '.row article',
|
||||
crawlContainer: '.nbk-container >div article',
|
||||
crawlFields: {
|
||||
id: '@id',
|
||||
title: 'div.nbk-p-2 > h3 a@title | removeNewline | trim',
|
||||
link: 'div.nbk-p-2 > h3 > a@href',
|
||||
address: 'div.nbk-p-2 > p | removeNewline | trim'
|
||||
address: 'div.nbk-p-2 > p | removeNewline | trim',
|
||||
},
|
||||
paginate: '.numbered-pager__bottom .numbered-pager--info li:nth-child(2) a@href',
|
||||
normalize: normalize,
|
||||
filter: applyBlacklist
|
||||
filter: applyBlacklist,
|
||||
};
|
||||
|
||||
exports.init = (sourceConfig, blacklist) => {
|
||||
|
||||
Reference in New Issue
Block a user