feat!: remove startpage

This commit is contained in:
ThetaDev 2024-08-18 00:43:02 +02:00
parent a3a1d9abf3
commit 3599acafef
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
8 changed files with 6 additions and 1813 deletions

View file

@ -38,8 +38,6 @@ pub async fn download_testfiles() {
search_cont().await;
search_playlists().await;
search_empty().await;
startpage().await;
startpage_cont().await;
trending().await;
music_playlist().await;
@ -448,29 +446,6 @@ async fn search_empty() {
.unwrap();
}
async fn startpage() {
let json_path = path!(*TESTFILES_DIR / "trends" / "startpage.json");
if json_path.exists() {
return;
}
let rp = rp_testfile(&json_path);
rp.query().startpage().await.unwrap();
}
async fn startpage_cont() {
let json_path = path!(*TESTFILES_DIR / "trends" / "startpage_cont.json");
if json_path.exists() {
return;
}
let rp = RustyPipe::new();
let startpage = rp.query().startpage().await.unwrap();
let rp = rp_testfile(&json_path);
startpage.next(rp.query()).await.unwrap();
}
async fn trending() {
let json_path = path!(*TESTFILES_DIR / "trends" / "trending_videos.json");
if json_path.exists() {