1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-04-22 12:42:02 +02:00

URL to galleries changed

This commit is contained in:
Felix Friebe 2020-03-07 02:32:55 +01:00
parent 9b31254df4
commit 677e90ba88

View File

@ -116,7 +116,7 @@ public class VscoRipper extends AbstractHTMLRipper {
}
private String getUserName() {
Pattern p = Pattern.compile("^https?://vsco.co/([a-zA-Z0-9-]+)/gallery(/)?");
Pattern p = Pattern.compile("^https?://vsco.co/([a-zA-Z0-9-]+)(/gallery)?(/)?");
Matcher m = p.matcher(url.toExternalForm());
if (m.matches()) {
@ -200,7 +200,7 @@ public class VscoRipper extends AbstractHTMLRipper {
}
//Member profile (Usernames should all be different, so this should work.
p = Pattern.compile("^https?://vsco.co/([a-zA-Z0-9-]+)/gallery(/)?");
p = Pattern.compile("^https?://vsco.co/([a-zA-Z0-9-]+)(/gallery)?(/)?");
m = p.matcher(url.toExternalForm());
if (m.matches()){