1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14: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:
devbreath 2020-10-08 13:06:50 +03:00 committed by GitHub
parent 01dcf9ddea
commit ed348c7578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = []