hot -> new

This commit is contained in:
Simon
2025-06-19 11:47:55 +00:00
parent 0a5adac63a
commit e1735657f0
2 changed files with 12 additions and 12 deletions

View File

@@ -249,17 +249,17 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
], ],
nsfw: true, nsfw: true,
}); });
// status.add_channel(Channel { status.add_channel(Channel {
// id: "erothots".to_string(), id: "erothots".to_string(),
// name: "Erothots".to_string(), name: "Erothots".to_string(),
// description: "Free Onlyfans Content".to_string(), description: "Free Onlyfans Content".to_string(),
// premium: false, premium: false,
// favicon: "https://www.google.com/s2/favicons?sz=64&domain=erothots.co".to_string(), favicon: "https://www.google.com/s2/favicons?sz=64&domain=erothots.co".to_string(),
// status: "active".to_string(), status: "active".to_string(),
// categories: vec![], categories: vec![],
// options: vec![], options: vec![],
// nsfw: true, nsfw: true,
// }); });
status.add_channel(Channel { status.add_channel(Channel {
id: "spankbang".to_string(), id: "spankbang".to_string(),
name: "Work in Progress - SpankBang".to_string(), name: "Work in Progress - SpankBang".to_string(),

View File

@@ -34,7 +34,7 @@ impl ErothotsProvider {
} }
async fn get(&self, cache:VideoCache, page: u8) -> Result<Vec<VideoItem>> { async fn get(&self, cache:VideoCache, page: u8) -> Result<Vec<VideoItem>> {
let mut prefix_uri = "videos/hot".to_string(); let mut prefix_uri = "videos/new".to_string();
let mut url = format!("{}{}?p={}", self.url, prefix_uri, page-1); let mut url = format!("{}{}?p={}", self.url, prefix_uri, page-1);
if page == 1 { if page == 1 {
url = format!("{}{}", self.url, prefix_uri); url = format!("{}{}", self.url, prefix_uri);