fix: KöPi - pageInformation.shelfContents.contents
This commit is contained in:
@@ -196,9 +196,9 @@ async function scrapeProspekte() {
|
||||
if (!nextData) continue;
|
||||
|
||||
const pp = nextData.props?.pageProps;
|
||||
const contents = pp?.pageInformation?.template?.shelfContents?.contents
|
||||
const contents = pp?.pageInformation?.shelfContents?.contents
|
||||
|| pp?.pageInformation?.template?.shelfContents?.contents
|
||||
|| pp?.pageInformation?.template?.content?.shelfContents?.contents
|
||||
|| pp?.shelfContents?.contents
|
||||
|| [];
|
||||
|
||||
for (const item of contents) {
|
||||
|
||||
Reference in New Issue
Block a user