mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-11 16:34:04 +02:00
quick dirty fix for instagram ripper
This commit is contained in:
@@ -475,7 +475,7 @@ public class InstagramRipper extends AbstractJSONRipper {
|
|||||||
|
|
||||||
private String getQhashUrl(Document doc) {
|
private String getQhashUrl(Document doc) {
|
||||||
for(Element el : doc.select("link[rel=preload]")) {
|
for(Element el : doc.select("link[rel=preload]")) {
|
||||||
if (el.attr("href").contains("ProfilePageContainer")) {
|
if (el.attr("href").contains("ProfilePageContainer") && el.attr("href").contains("js")) {
|
||||||
return el.attr("href");
|
return el.attr("href");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user