Fix BongaCams thumbnail URLs

This commit is contained in:
0xb00bface 2021-03-27 11:35:19 +01:00
parent 73121f0cd6
commit e41c91f521
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public class BongaCamsUpdateService extends PaginatedScheduledService {
BongaCamsModel model = (BongaCamsModel) bongaCams.createModel(name);
model.mapOnlineState(m.optString("room"));
model.setOnline(m.optInt("viewers") > 0);
model.setPreview("https:" + m.getString("thumb_image"));
model.setPreview("https:" + m.getString("thumb_image").replace("{ext}", "jpg"));
if (m.has("display_name")) {
model.setDisplayName(m.getString("display_name"));
}