]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[vk] Remove debug assert statement (fixes #4672, fixes #4514)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 9 Jan 2015 19:13:53 +0000 (20:13 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 9 Jan 2015 19:13:53 +0000 (20:13 +0100)
youtube_dl/extractor/vk.py

index 129de6cf3ddc03292d00d2c7e0b147aedb85066b..81e02a6244d83327b05c6b76c490391b97b15f92 100644 (file)
@@ -166,7 +166,6 @@ class VKIE(InfoExtractor):
 
         m_rutube = re.search(
             r'\ssrc="((?:https?:)?//rutube\.ru\\?/video\\?/embed(?:.*?))\\?"', info_page)
-        assert m_rutube
         if m_rutube is not None:
             self.to_screen('rutube video detected')
             rutube_url = self._proto_relative_url(