From a909f2996f59fc4b321a18a93e4474ee2dab0f12 Mon Sep 17 00:00:00 2001 From: 0xb00bface <0xboobface@gmail.com> Date: Sat, 8 Oct 2022 14:35:44 +0200 Subject: [PATCH] Fix model URL in MVLive search results --- common/src/main/java/ctbrec/sites/manyvids/MVLive.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/ctbrec/sites/manyvids/MVLive.java b/common/src/main/java/ctbrec/sites/manyvids/MVLive.java index b8345f1c..dc2d8978 100644 --- a/common/src/main/java/ctbrec/sites/manyvids/MVLive.java +++ b/common/src/main/java/ctbrec/sites/manyvids/MVLive.java @@ -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")) {