Skip to content

Commit 9ceea09

Browse files
LarsFroniusstefanw
authored andcommitted
adjusts to current morgenpost.de layout
1 parent d64a55b commit 9ceea09

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/sites.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -440,17 +440,15 @@ const sites: Sites = {
440440
url: 'https://www.morgenpost.de/bezirke/pankow/article234644603/Hindernisstrecke-Schoenhauser-Allee.html',
441441
selectors: {
442442
query:
443-
'"Schönhauser Allee in Prenzlauer Berg gilt als Unfallschwerpunkt für Radfahrer Eine Tour auf"',
443+
'"Die Schönhauser Allee in Prenzlauer Berg gilt als Unfallschwerpunkt für Radfahrer Eine Tour auf der"',
444444
},
445445
},
446446
],
447447
selectors: {
448-
query: makeQueryFunc('.article-body'),
449-
// query: (root) => {
450-
// return root.querySelector('.article__header__intro__text').innerText.split(' ').slice(0, 8).join(' ')
451-
// },
448+
query: makeQueryFunc('span.text-copy-primary', true, 0),
452449
main: '.article-body',
453450
paywall: '#paywall-container',
451+
date: 'time'
454452
},
455453
source: 'genios.de',
456454
sourceParams: {

0 commit comments

Comments
 (0)