1
0
Fork 0
forked from mirrors/akkoma

Better variable name

This commit is contained in:
Maxim Filippov 2019-01-01 23:29:47 +03:00
parent 2aab4e03c3
commit 917d48d09b

View file

@ -17,8 +17,8 @@ defp get_elements(html) do
html |> Floki.find("meta[property^='og:']") html |> Floki.find("meta[property^='og:']")
end end
defp normalize_attributes(tuple) do defp normalize_attributes(html_node) do
{_tag, attributes, _children} = tuple {_tag, attributes, _children} = html_node
data = data =
Enum.into(attributes, %{}, fn {name, value} -> Enum.into(attributes, %{}, fn {name, value} ->