akkoma/lib/pleroma/web/rich_media/parsers/twitter_card.ex
2019-01-10 18:09:56 +00:00

12 lines
248 B
Elixir

defmodule Pleroma.Web.RichMedia.Parsers.TwitterCard do
def parse(html, data) do
Pleroma.Web.RichMedia.Parsers.MetaTagsParser.parse(
html,
data,
"twitter",
"No twitter card metadata found",
"name"
)
end
end