distraction.party/lib/pleroma/web/rich_media/parsers/ogp.ex
2019-01-10 18:09:56 +00:00

11 lines
230 B
Elixir

defmodule Pleroma.Web.RichMedia.Parsers.OGP do
def parse(html, data) do
Pleroma.Web.RichMedia.Parsers.MetaTagsParser.parse(
html,
data,
"og",
"No OGP metadata found",
"property"
)
end
end