chaturbate bugfixes
This commit is contained in:
@@ -32,7 +32,7 @@ impl ChaturbateProvider {
|
|||||||
|
|
||||||
Channel {
|
Channel {
|
||||||
id: "chaturbate".to_string(),
|
id: "chaturbate".to_string(),
|
||||||
name: "Chaturbate".to_string(),
|
name: "WORK IN PROGRESS Chaturbate".to_string(),
|
||||||
description: "Free Adult Webcams".to_string(),
|
description: "Free Adult Webcams".to_string(),
|
||||||
premium: false,
|
premium: false,
|
||||||
favicon: "https://www.google.com/s2/favicons?sz=64&domain=chaturbate.com".to_string(),
|
favicon: "https://www.google.com/s2/favicons?sz=64&domain=chaturbate.com".to_string(),
|
||||||
@@ -202,6 +202,7 @@ impl ChaturbateProvider {
|
|||||||
.unwrap_or(&serde_json::Value::String("".to_string()))
|
.unwrap_or(&serde_json::Value::String("".to_string()))
|
||||||
.as_str()
|
.as_str()
|
||||||
.unwrap_or("")
|
.unwrap_or("")
|
||||||
|
.split("?").collect::<Vec<&str>>()[0]
|
||||||
.to_string();
|
.to_string();
|
||||||
let views = video_segment
|
let views = video_segment
|
||||||
.get("viewers")
|
.get("viewers")
|
||||||
|
|||||||
Reference in New Issue
Block a user