From 7686f4c2d692630128a786b2c8593a6815172f3c Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sun, 1 Aug 2021 22:10:25 -0400 Subject: [PATCH] Fetch larger images from twitter --- lib/philomena/scrapers/twitter.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena/scrapers/twitter.ex b/lib/philomena/scrapers/twitter.ex index dde225ef..bc250654 100644 --- a/lib/philomena/scrapers/twitter.ex +++ b/lib/philomena/scrapers/twitter.ex @@ -19,7 +19,7 @@ defmodule Philomena.Scrapers.Twitter do tweet["entities"]["media"] |> Enum.map( &%{ - url: &1["media_url_https"] <> ":orig", + url: &1["media_url_https"] <> "?format=jpg&name=4096x4096", camo_url: Camo.Image.image_url(&1["media_url_https"]) } )