Upgrade yt_dlp and download script

This commit is contained in:
2025-05-02 16:11:08 -05:00
parent 3a2e8eeb08
commit d68d9ce4f9
1194 changed files with 60099 additions and 44436 deletions

View File

@@ -1,7 +1,7 @@
from .common import InfoExtractor
from ..utils import (
int_or_none,
determine_ext,
int_or_none,
mimetype2ext,
)
@@ -19,13 +19,13 @@ class TweakersIE(InfoExtractor):
'thumbnail': r're:^https?://.*\.jpe?g$',
'duration': 386,
'uploader_id': 's7JeEm',
}
},
}
def _real_extract(self, url):
video_id = self._match_id(url)
video_data = self._download_json(
'https://tweakers.net/video/s1playlist/%s/1920/1080/playlist.json' % video_id,
f'https://tweakers.net/video/s1playlist/{video_id}/1920/1080/playlist.json',
video_id)['items'][0]
title = video_data['title']