1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00: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