Reverted all changes back to version 677d7fdb53
This commit is contained in:
@@ -41,7 +41,6 @@ export async function extractMetaData(url: string) {
|
||||
$('meta[name="description"]').attr("content") ||
|
||||
"No description found";
|
||||
const image = $('meta[property="og:image"]').attr("content") || null;
|
||||
const h1 = $('h1').first().text().trim() || "No H1 found";
|
||||
|
||||
const faqData: FaqItem[] = [];
|
||||
$('script[type="application/ld+json"]').each((i, el) => {
|
||||
@@ -79,7 +78,6 @@ export async function extractMetaData(url: string) {
|
||||
title,
|
||||
description,
|
||||
image,
|
||||
h1,
|
||||
faq: faqData.length > 0 ? faqData : null,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user