1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

[vk] remove assert statement

This commit is contained in:
Remita Amine 2019-10-26 00:06:05 +01:00
parent 3c989818e7
commit 42cd0824b3

View File

@ -600,7 +600,6 @@ class VKWallPostIE(VKBaseIE):
if 'audio_api_unavailable' in mask_url: if 'audio_api_unavailable' in mask_url:
extra = mask_url.split('?extra=')[1].split('#') extra = mask_url.split('?extra=')[1].split('#')
func, base = self._decode(extra[1]).split(chr(11)) func, base = self._decode(extra[1]).split(chr(11))
assert (func == 'i')
mask_url = list(self._decode(extra[0])) mask_url = list(self._decode(extra[0]))
url_len = len(mask_url) url_len = len(mask_url)
indexes = [None] * url_len indexes = [None] * url_len