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

@@ -34,7 +34,7 @@ impl ErothotsProvider {
}
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);
if page == 1 {
url = format!("{}{}", self.url, prefix_uri);