Fixes embed links for twitter and tiktok (#74)
This commit is contained in:
parent
d4b9ef3b0a
commit
2fce1637b4
5 changed files with 79 additions and 2 deletions
|
@ -63,6 +63,7 @@ export async function getLinkMeta(
|
|||
const httpResMeta = extractHtmlMeta({
|
||||
html: httpResBody,
|
||||
hostname: urlp?.hostname,
|
||||
pathname: urlp?.pathname,
|
||||
})
|
||||
meta.title = httpResMeta.title ? he.decode(httpResMeta.title) : undefined
|
||||
meta.description = httpResMeta.description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue