diff --git a/lib/philomena/scrapers/tumblr.ex b/lib/philomena/scrapers/tumblr.ex index 8ce08999..ae87f7ae 100644 --- a/lib/philomena/scrapers/tumblr.ex +++ b/lib/philomena/scrapers/tumblr.ex @@ -22,9 +22,7 @@ defmodule Philomena.Scrapers.Tumblr do [post_id] = Regex.run(@url_regex, url, capture: :all_but_first) api_url = - "https://api.tumblr.com/v2/blog/#{uri.host}/posts/photo?id=#{post_id}&api_key=#{ - tumblr_api_key() - }" + "https://api.tumblr.com/v2/blog/#{uri.host}/posts/photo?id=#{post_id}&api_key=#{tumblr_api_key()}" Philomena.Http.get(api_url) |> json!()