1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-24 14:33:17 +02:00

Agged the imgur.client_id config option so users can provide their own imgur client-id

This commit is contained in:
cyian-1756
2019-10-22 12:57:40 -04:00
parent 62c9be3b40
commit c589f07150

View File

@@ -364,7 +364,7 @@ public class ImgurRipper extends AlbumRipper {
.userAgent(USER_AGENT)
.timeout(10 * 1000)
.maxBodySize(0)
.header("Authorization", "Client-ID 546c25a59c58ad7")
.header("Authorization", "Client-ID " + Utils.getConfigString("imgur.client_id", "546c25a59c58ad7"))
.ignoreContentType(true)
.get();
}