 
   defp parse_stop({"tr", _ ,
                    [{"td",_ , [line]},
-                    {"td",_ , [name]}, lines_html ]}) do
+                    {"td",_ , [name]}, lines_html]}) do
 
     lines = try do
               lines_html
               |> Floki.find("tr")
               |> Enum.map(&Floki.find(&1,"td"))
-              |> Enum.map(fn x -> Enum.map(x, &Floki.text/1) |> List.to_tuple end )
+              |> Enum.map(fn x -> x |> Enum.map(&Floki.text/1) |> List.to_tuple end)
               |> Enum.into(%{})
             rescue
               _ -> %{}


    %Stop{name: Floki.text(name),
          ref: line,
          lines: lines  }
  end

  defp parse_stop(_), do: nil

  @spec get_info(String.t) :: stop
  def get_info(id) when is_binary(id) do
    stop = String.rjust(id,5,?0)
    url = @info_url <> stop

    {:ok, body} = url
    |> HTTPoison.get
    |> get_body

    timetable = body
    |> Floki.find(".gridRow")
    |> Enum.map(&parse_row/1)

    name = body
    |> Floki.find("#stopTitle")
    |> Floki.text
    |> String.split("-")
    |> List.first
