Fix model URL in MVLive search results

This commit is contained in:
0xb00bface 2022-10-08 14:35:44 +02:00
parent 39d18edf9c
commit a909f2996f
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ public class MVLive extends AbstractSite {
String name = star.getString("label");
MVLiveModel model = createModel(name);
long id = star.getLong("id");
String url = BASE_URL + model.getDisplayName() + '/' + id + '/';
String url = BASE_URL + "/Profile/" + id + '/' + model.getDisplayName().replace(" ", "-") + '/';
model.setUrl(url);
model.setPreview(star.getString("img"));
if (star.optString("is_live").equals("1")) {