mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-25 06:41:20 +02:00
Agged the imgur.client_id config option so users can provide their own imgur client-id
This commit is contained in:
@@ -364,7 +364,7 @@ public class ImgurRipper extends AlbumRipper {
|
|||||||
.userAgent(USER_AGENT)
|
.userAgent(USER_AGENT)
|
||||||
.timeout(10 * 1000)
|
.timeout(10 * 1000)
|
||||||
.maxBodySize(0)
|
.maxBodySize(0)
|
||||||
.header("Authorization", "Client-ID 546c25a59c58ad7")
|
.header("Authorization", "Client-ID " + Utils.getConfigString("imgur.client_id", "546c25a59c58ad7"))
|
||||||
.ignoreContentType(true)
|
.ignoreContentType(true)
|
||||||
.get();
|
.get();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user