Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with
2 additions and
2 deletions
-
app/src/main/java/awais/instagrabber/utils/Utils.java
|
@ -145,7 +145,7 @@ public final class Utils { |
|
|
for (final String cookie : cookieRaw.split("; ")) { |
|
|
for (final String cookie : cookieRaw.split("; ")) { |
|
|
final String[] strings = cookie.split("=", 2); |
|
|
final String[] strings = cookie.split("=", 2); |
|
|
final HttpCookie httpCookie = new HttpCookie(strings[0].trim(), strings[1].trim()); |
|
|
final HttpCookie httpCookie = new HttpCookie(strings[0].trim(), strings[1].trim()); |
|
|
httpCookie.setDomain("instagram.com"); |
|
|
|
|
|
|
|
|
httpCookie.setDomain(".instagram.com"); |
|
|
httpCookie.setPath("/"); |
|
|
httpCookie.setPath("/"); |
|
|
httpCookie.setVersion(0); |
|
|
httpCookie.setVersion(0); |
|
|
cookieStore.add(uri1, httpCookie); |
|
|
cookieStore.add(uri1, httpCookie); |
|
|