1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-01 03:20:20 +02:00

Merge pull request #1590 from felixaufreisen/issue1569

ArtStationRipper Fix
This commit is contained in:
cyian-1756
2020-03-21 09:59:47 +00:00
committed by GitHub

View File

@@ -254,7 +254,7 @@ public class ArtStationRipper extends AbstractJSONRipper {
con.userAgent("Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0");
con.header("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
con.header("Accept-Language", "en-US,en;q=0.5");
con.header("Accept-Encoding", "gzip, deflate, br");
// con.header("Accept-Encoding", "gzip, deflate, br");
con.header("Upgrade-Insecure-Requests", "1");
Response res = con.execute();
int status = res.statusCode();
@@ -309,7 +309,7 @@ public class ArtStationRipper extends AbstractJSONRipper {
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11");
con.header("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
con.header("Accept-Language", "en-US,en;q=0.5");
con.header("Accept-Encoding", "gzip, deflate, br");
// con.header("Accept-Encoding", "gzip, deflate, br");
con.header("Upgrade-Insecure-Requests", "1");
Response res = con.execute();
int status = res.statusCode();