|
|
@ -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/example123',
|
|
|
|
|
|
|
|
'only_matching': True,
|
|
|
|
}]
|
|
|
|
}]
|
|
|
|
|
|
|
|
|
|
|
|
def _real_extract(self, url):
|
|
|
|
def _real_extract(self, url):
|
|
|
|