Skip to content

Commit

Permalink
Fix imgur album download link
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Jan 12, 2021
1 parent c2f0316 commit ccf35ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/imgur.atom.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a href="#{link}" rel="noreferrer"><img src="https://i.imgur.com/#{image["cover"]}h.jpg" referrerpolicy="no-referrer"></a>
#{image["description"].linkify.to_paragraphs}
<p><a href="http://s.imgur.com/a/#{image["id"]}/zip" rel="noreferrer">Download album</a></p>
<p><a href="https://imgur.com/a/#{image["id"]}/zip" rel="noreferrer">Download album</a></p>
<p><a href="https://www.reddit.com/search#{Addressable::URI.new(query: "include_over_18=on&q=url:#{image["id"]} OR url:#{image["cover"]}").normalize.to_s}">Search for this on Reddit</a></p>
EOF
else
Expand Down

0 comments on commit ccf35ba

Please sign in to comment.