Skip to content

Commit

Permalink
Merge pull request #1345 from Rihannakitten/patch-1
Browse files Browse the repository at this point in the history
quick dirty fix for instagram ripper
  • Loading branch information
cyian-1756 authored Jun 22, 2019
2 parents 55c1d54 + 4a54a08 commit 1346f87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ private JSONObject getPage(String url, String ig_gis) {

private String getQhashUrl(Document doc) {
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");
}
}
Expand Down

0 comments on commit 1346f87

Please sign in to comment.