1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-04 21:07:38 +02:00

Ripper no longer supports tags

This commit is contained in:
cyian-1756
2018-03-13 20:45:28 -04:00
parent fd2ff087dd
commit ad358d26ec

View File

@@ -127,11 +127,11 @@ public class InstagramRipper extends AbstractHTMLRipper {
return m.group(1); return m.group(1);
} }
p = Pattern.compile("^https?://www.instagram.com/explore/tags/([^/]+)/?"); // p = Pattern.compile("^https?://www.instagram.com/explore/tags/([^/]+)/?");
m = p.matcher(url.toExternalForm()); // m = p.matcher(url.toExternalForm());
if (m.matches()) { // if (m.matches()) {
return m.group(1); // return m.group(1);
} // }
throw new MalformedURLException("Unable to find user in " + url); throw new MalformedURLException("Unable to find user in " + url);
} }