hot -> new
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user