Skip to content

Commit

Permalink
Merge pull request #123 from acid-chicken/patch-1
Browse files Browse the repository at this point in the history
Fix bug
  • Loading branch information
syuilo authored Aug 15, 2018
2 parents bdc0e1b + 0bfa8e5 commit f7d04f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export default async (url: URL.Url): Promise<Summary> => {
image = image ? URL.resolve(url.href, image) : null;

const player =
$('meta[property="twitter:player"]').attr('content');
$('meta[property="twitter:player"]').attr('content') ||
$('meta[name="twitter:player"]').attr('content');

let description =
$('meta[property="og:description"]').attr('content') ||
Expand Down

0 comments on commit f7d04f4

Please sign in to comment.