Skip to content

Commit

Permalink
Fix handelsblatt
Browse files Browse the repository at this point in the history
Closes #370
  • Loading branch information
stefanw committed Nov 19, 2023
1 parent 04c4431 commit d24e1a7
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/sites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,17 +267,17 @@ const sites: Sites = {
},
'www.handelsblatt.com': {
selectors: {
query: '.vhb-article--introduction',
// date: "span[itemprop='datePublished']",
paywall: '.c-paywall',
main: '.vhb-article-area--read'
},
start: (root) => {
Array.from(root.querySelectorAll('.c-paywall')).forEach((el: HTMLElement) => {
el.style.display = 'none'
})
},
waitOnLoad: true,
query: makeQueryFunc('.storyline-element app-storyline-paragraph app-rich-text p'),
date: 'app-story-date',
paywall: 'app-paywall',
main: '.storyline-element'
},
// start: (root) => {
// Array.from(root.querySelectorAll('.c-paywall')).forEach((el: HTMLElement) => {
// el.style.display = 'none'
// })
// },
waitOnLoad: 2000,
source: 'genios.de',
sourceParams: {
dbShortcut: 'HBLATE,HBONLATE,HBGM,HBLI,HBMA,HBMBLATE,HBZ'
Expand Down

0 comments on commit d24e1a7

Please sign in to comment.