Fix model URL in MVLive search results
This commit is contained in:
parent
39d18edf9c
commit
a909f2996f
|
@ -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")) {
|
||||
|
|
Loading…
Reference in New Issue