Bump yt-dlp, fix shorts only playlist, #build

Changed:
- Ships latest yt-dlp
- Fixes playlists with shorts only extraction
This commit is contained in:
Simon 2024-12-07 22:10:44 +07:00
commit 744c6c94f1
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
4 changed files with 15 additions and 18 deletions

View File

@ -276,4 +276,4 @@ CORS_ALLOW_HEADERS = list(default_headers) + [
# TA application settings
TA_UPSTREAM = "https://github.com/tubearchivist/tubearchivist"
TA_VERSION = "v0.4.11"
TA_VERSION = "v0.4.12-unstable"

View File

@ -93,13 +93,10 @@ class YoutubePlaylist(YouTubeItem):
"""get all videos in playlist, match downloaded with ids_found"""
all_members = []
for idx, entry in enumerate(self.youtube_meta["entries"]):
if not entry["channel"]:
continue
to_append = {
"youtube_id": entry["id"],
"title": entry["title"],
"uploader": entry["channel"],
"uploader": entry.get("channel"),
"idx": idx,
"downloaded": entry["id"] in ids_found,
}

View File

@ -1,11 +1,11 @@
-r requirements.txt
black
codespell
flake8
isort
pylint
pylint-django
pytest
pytest-django
requirementscheck
types-requests
black==24.10.0
codespell==2.3.0
flake8==7.1.1
isort==5.13.2
pylint-django==2.6.1
pylint==3.3.2
pytest-django==4.9.0
pytest==8.3.4
requirementscheck==0.0.3
types-requests==2.32.0.20241016

View File

@ -3,12 +3,12 @@ celery==5.4.0
django-auth-ldap==5.1.0
django-celery-beat==2.7.0
django-cors-headers==4.6.0
Django==5.1.3
Django==5.1.4
djangorestframework==3.15.2
Pillow==11.0.0
redis==5.2.0
redis==5.2.1
requests==2.32.3
ryd-client==0.0.6
uWSGI==2.0.28
whitenoise==6.8.2
yt-dlp[default]==2024.11.4
yt-dlp[default]==2024.12.6