Update app.py
Browse files424 unmodified lines425426427428429430431432433434424 unmodified lines"url": "https://chrunos.com/premium-shortcuts/"}# yt-dlp flat extraction: fast metadata-only fetch of entries# playlistend caps how many entries yt-dlp will walk — request enough# to cover the current page, then slice in-process.needed = page * MAX_PLAYLIST_ITEMSydl_opts = {'quiet': True,'no_warnings': True,424 unmodified lines425426427428429430431432433434435436424 unmodified lines"url": "https://chrunos.com/premium-shortcuts/"}# yt-dlp flat extraction: fast metadata-only fetch of entries.# Fetch N+1 entries (one extra probe): yt-dlp hard-stops at playlistend,# so requesting exactly page*20 makes has_next always false even when the# profile has hundreds more videos. If the probe entry comes back, another# page exists; if the result is short by one, we're at the end.needed = page * MAX_PLAYLIST_ITEMS + 1ydl_opts = {'quiet': True,'no_warnings': True,
app.py+6-4