Merge pull request #506 from cyian-1756/ig-nextpage-fix

Instagram ripper no longer errors out when downloading from more than 1 page
This commit is contained in:
cyian-1756 2018-04-13 05:48:00 -04:00 committed by GitHub
commit df1df21a38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,7 +328,7 @@ public class InstagramRipper extends AbstractHTMLRipper {
} }
private String getIGGis(String variables) { private String getIGGis(String variables) {
String stringToMD5 = rhx_gis + ":" + csrftoken + ":" + USER_AGENT + ":" + variables; String stringToMD5 = rhx_gis + ":" + csrftoken + ":" + variables;
logger.debug("String to md5 is \"" + stringToMD5 + "\""); logger.debug("String to md5 is \"" + stringToMD5 + "\"");
try { try {
byte[] bytesOfMessage = stringToMD5.getBytes("UTF-8"); byte[] bytesOfMessage = stringToMD5.getBytes("UTF-8");