refactor: update trends response model

This commit is contained in:
Theta-Dev 2022-10-17 11:04:18 +02:00
parent 6a10909377
commit db6b1ab8a7
9 changed files with 936 additions and 1044 deletions

View file

@ -280,10 +280,7 @@ async fn channel_videos_cont(testfiles: &Path) {
.unwrap();
let rp = rp_testfile(&json_path);
rp.query()
.channel_videos_continuation(&videos.content.ctoken.unwrap())
.await
.unwrap();
videos.content.next(rp.query()).await.unwrap().unwrap();
}
async fn channel_playlists_cont(testfiles: &Path) {
@ -302,10 +299,7 @@ async fn channel_playlists_cont(testfiles: &Path) {
.unwrap();
let rp = rp_testfile(&json_path);
rp.query()
.channel_playlists_continuation(&playlists.content.ctoken.unwrap())
.await
.unwrap();
playlists.content.next(rp.query()).await.unwrap().unwrap();
}
async fn search(testfiles: &Path) {