Commit 917d48d0 authored by Maxim Filippov's avatar Maxim Filippov 🌚
Browse files

Better variable name

parent 2aab4e03
......@@ -17,8 +17,8 @@ defp get_elements(html) do
html |> Floki.find("meta[property^='og:']")
defp normalize_attributes(tuple) do
{_tag, attributes, _children} = tuple
defp normalize_attributes(html_node) do
{_tag, attributes, _children} = html_node
data =
Enum.into(attributes, %{}, fn {name, value} ->
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment