Use :orig instead of :large in TwitterRipper
This patch will allow TwitterRipper to download the original image instead of the resized large image Normal image (600×300) → https://pbs.twimg.com/media/CCiZIc-WgAAc9vx.jpg Large image (1024×512) → https://pbs.twimg.com/media/CCiZIc-WgAAc9vx.jpg:large Original image (1280×640) → https://pbs.twimg.com/media/CCiZIc-WgAAc9vx.jpg:orig
This commit is contained in:
parent
b9d5347262
commit
f95e319585
@ -184,7 +184,7 @@ public class TwitterRipper extends AlbumRipper {
|
||||
media = (JSONObject) medias.get(i);
|
||||
url = media.getString("media_url");
|
||||
if (url.contains(".twimg.com/")) {
|
||||
url += ":large";
|
||||
url += ":orig";
|
||||
addURLToDownload(new URL(url));
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user