mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-29 16:50:10 +02:00
Fixed ripping from single instagram page
This commit is contained in:
@@ -249,7 +249,9 @@ public class InstagramRipper extends AbstractJSONRipper {
|
|||||||
@Override
|
@Override
|
||||||
public List<String> getURLsFromJSON(JSONObject json) {
|
public List<String> getURLsFromJSON(JSONObject json) {
|
||||||
List<String> imageURLs = new ArrayList<>();
|
List<String> imageURLs = new ArrayList<>();
|
||||||
|
if (!url.toExternalForm().contains("/p/")) {
|
||||||
nextPageID = getAfter(json);
|
nextPageID = getAfter(json);
|
||||||
|
}
|
||||||
|
|
||||||
// get the rhx_gis value so we can get the next page later on
|
// get the rhx_gis value so we can get the next page later on
|
||||||
if (rhx_gis == null) {
|
if (rhx_gis == null) {
|
||||||
|
Reference in New Issue
Block a user