Always apply limit after filtering successful streams

This commit is contained in:
Paul van Tilburg 2022-12-19 21:54:59 +01:00
parent 4177e1c6f9
commit a855c98399
Signed by: paul
GPG Key ID: C6DE073EDA9EEC4D
1 changed files with 1 additions and 1 deletions

View File

@ -263,8 +263,8 @@ async fn fetch_channel_videos(
let yt_videos_w_streams = yt_channel
.uploads()
.await?
.take(limit)
.filter_map(fetch_stream)
.take(limit)
.collect()
.await;