]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[vk] remove assert statement
authorRemita Amine <remitamine@gmail.com>
Fri, 25 Oct 2019 23:06:05 +0000 (00:06 +0100)
committerRemita Amine <remitamine@gmail.com>
Fri, 25 Oct 2019 23:06:05 +0000 (00:06 +0100)
youtube_dl/extractor/vk.py

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