mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 18:34:32 +01:00
[yandex video][yandex efir] fixed extractor
Fixed extractor for Yandex Video and Yandex Efir(single program and program on channel). Latest version of Yandex Video and Yandex Efir not support request for external json. Now json data with video information used as a parameter in methods of Yandex stream player at webpage. Current extractor find call of Yandex stream player, parse parameters and find information about program.
This commit is contained in:
parent
01dcf9ddea
commit
ed348c7578
@ -65,7 +65,7 @@ class YandexVideoIE(InfoExtractor):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def split_params(self, txt: str) -> []:
|
def split_params(self, txt):
|
||||||
braket = 0
|
braket = 0
|
||||||
line = ''
|
line = ''
|
||||||
items = []
|
items = []
|
||||||
|
Loading…
Reference in New Issue
Block a user