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

@@ -2,6 +2,7 @@ from .common import InfoExtractor
class LentaIE(InfoExtractor):
_WORKING = False
_VALID_URL = r'https?://(?:www\.)?lenta\.ru/[^/]+/\d+/\d+/\d+/(?P<id>[^/?#&]+)'
_TESTS = [{
'url': 'https://lenta.ru/news/2018/03/22/savshenko_go/',
@@ -44,7 +45,7 @@ class LentaIE(InfoExtractor):
default=None)
if video_id:
return self.url_result(
'eagleplatform:lentaru.media.eagleplatform.com:%s' % video_id,
f'eagleplatform:lentaru.media.eagleplatform.com:{video_id}',
ie='EaglePlatform', video_id=video_id)
return self.url_result(url, ie='Generic')