bugfix
This commit is contained in:
@@ -112,7 +112,7 @@ impl PornhubProvider {
|
||||
|
||||
if query.starts_with("@"){
|
||||
let url_parts = query[1..].split(":").collect::<Vec<&str>>();
|
||||
url = [self.url.to_string(), url_parts[0].to_string(), url_parts[1].to_string(), "videos?page=".to_string()].join("/");
|
||||
url = [self.url.to_string(), url_parts[0].to_string(), url_parts[1].replace("-", " ").to_string(), "videos?page=".to_string()].join("/");
|
||||
url += &page.to_string();
|
||||
if query.contains("@model") || query.contains("@pornstar"){
|
||||
split_string = "mostRecentVideosSection";
|
||||
|
||||
Reference in New Issue
Block a user