Always apply limit after filtering successful streams
This commit is contained in:
parent
4177e1c6f9
commit
a855c98399
|
@ -263,8 +263,8 @@ async fn fetch_channel_videos(
|
||||||
let yt_videos_w_streams = yt_channel
|
let yt_videos_w_streams = yt_channel
|
||||||
.uploads()
|
.uploads()
|
||||||
.await?
|
.await?
|
||||||
.take(limit)
|
|
||||||
.filter_map(fetch_stream)
|
.filter_map(fetch_stream)
|
||||||
|
.take(limit)
|
||||||
.collect()
|
.collect()
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue