Fixed ripping from single instagram page
This commit is contained in:
parent
867af57713
commit
98d4c57f93
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user