Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Thomas 2020-08-06 11:47:04 +02:00
commit 2c385db985
1 changed files with 9 additions and 2 deletions

View File

@ -3465,8 +3465,15 @@ public class API {
return apiResponse;
}
StringBuilder urlparams = new StringBuilder();
for (String param : usernames) {
urlparams.append(param.trim()).append(",");
{
int i = 0;
while (i < usernames.length) {
String username = usernames[i].trim();
urlparams.append(username);
if (i != usernames.length - 1) urlparams.append(",");
i++;
}
}
String url = "https://" + nitterHost + "/" + urlparams + "/rss";