mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-06-23 03:47:58 +09:00
parent
bdc0e1b80d
commit
0bfa8e5e75
@ -51,7 +51,8 @@ export default async (url: URL.Url): Promise<Summary> => {
|
|||||||
image = image ? URL.resolve(url.href, image) : null;
|
image = image ? URL.resolve(url.href, image) : null;
|
||||||
|
|
||||||
const player =
|
const player =
|
||||||
$('meta[property="twitter:player"]').attr('content');
|
$('meta[property="twitter:player"]').attr('content') ||
|
||||||
|
$('meta[name="twitter:player"]').attr('content');
|
||||||
|
|
||||||
let description =
|
let description =
|
||||||
$('meta[property="og:description"]').attr('content') ||
|
$('meta[property="og:description"]').attr('content') ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user