Explorar o código

[generic] Remove debug statement

Jaime Marquínez Ferrándiz %!s(int64=11) %!d(string=hai) anos
pai
achega
bcc069a937
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      youtube_dl/extractor/generic.py

+ 0 - 1
youtube_dl/extractor/generic.py

@@ -809,7 +809,6 @@ class GenericIE(InfoExtractor):
                     \s*{[^}]+? ["']?clip["']?\s*:\s*\{\s*
                         ["']?url["']?\s*:\s*["']([^"']+)["']
             ''', webpage)
-            assert found
         if not found:
             # Try to find twitter cards info
             found = re.findall(r'<meta (?:property|name)="twitter:player:stream" (?:content|value)="(.+?)"', webpage)