mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Fetch larger images from twitter
This commit is contained in:
parent
a82caedddf
commit
7686f4c2d6
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ defmodule Philomena.Scrapers.Twitter do
|
||||||
tweet["entities"]["media"]
|
tweet["entities"]["media"]
|
||||||
|> Enum.map(
|
|> 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"])
|
camo_url: Camo.Image.image_url(&1["media_url_https"])
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue