1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-13 16:08:29 +00:00

[ie/YandexDisk] Support 360 URLs (#13935)

Closes #13887
Authored by: Sojiroh
This commit is contained in:
Sojiroh 2025-08-07 17:16:55 -04:00 committed by GitHub
parent e8d2807296
commit a6df5e8a58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ class YandexDiskIE(InfoExtractor):
_VALID_URL = r'''(?x)https?:// _VALID_URL = r'''(?x)https?://
(?P<domain> (?P<domain>
yadi\.sk| yadi\.sk|
disk\.yandex\. disk\.(?:360\.)?yandex\.
(?: (?:
az| az|
by| by|
@ -51,6 +51,9 @@ class YandexDiskIE(InfoExtractor):
}, { }, {
'url': 'https://yadi.sk/public?hash=5DZ296JK9GWCLp02f6jrObjnctjRxMs8L6%2B%2FuhNqk38%3D', 'url': 'https://yadi.sk/public?hash=5DZ296JK9GWCLp02f6jrObjnctjRxMs8L6%2B%2FuhNqk38%3D',
'only_matching': True, 'only_matching': True,
}, {
'url': 'https://disk.360.yandex.ru/i/TM2xsIVsgjY4uw',
'only_matching': True,
}] }]
def _real_extract(self, url): def _real_extract(self, url):