mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-01 19:40:18 +02:00
Revert style change which hurt readability.
This commit is contained in:
@@ -171,12 +171,11 @@ public class RedditRipper extends AlbumRipper {
|
||||
Pattern p = RipUtils.getURLRegex();
|
||||
Matcher m = p.matcher(body);
|
||||
while (m.find()) {
|
||||
String foundurl;
|
||||
foundurl = m.group(1);
|
||||
while (foundurl.endsWith(")")) {
|
||||
foundurl = foundurl.substring(0, foundurl.length() - 1);
|
||||
String url = m.group(1);
|
||||
while (url.endsWith(")")) {
|
||||
url = url.substring(0, url.length() - 1);
|
||||
}
|
||||
handleURL(foundurl, id);
|
||||
handleURL(url, id);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user