honkoma/lib/pleroma/web/rich_media/parsers/ogp.ex

12 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