[anvato] Disable NFLTokenGenerator(closes #27449)
authorRemita Amine <remitamine@gmail.com>
Wed, 16 Dec 2020 20:47:50 +0000 (21:47 +0100)
committerRemita Amine <remitamine@gmail.com>
Wed, 16 Dec 2020 20:47:50 +0000 (21:47 +0100)
youtube_dl/extractor/anvato.py
youtube_dl/extractor/nfl.py

index a6410311c598fc332705de33ada5e7f69a08ab5e..98c5e6d38a1a5c59f910b77a69e45ba978c2d311 100644 (file)
@@ -9,7 +9,7 @@ import re
 import time
 
 from .common import InfoExtractor
-from .anvato_token_generator import NFLTokenGenerator
+from .anvato_token_generator import NFLTokenGenerator
 from ..aes import aes_encrypt
 from ..compat import compat_str
 from ..utils import (
@@ -205,7 +205,7 @@ class AnvatoIE(InfoExtractor):
     }
 
     _TOKEN_GENERATORS = {
-        'GXvEgwyJeWem8KCYXfeoHWknwP48Mboj': NFLTokenGenerator,
+        'GXvEgwyJeWem8KCYXfeoHWknwP48Mboj': NFLTokenGenerator,
     }
 
     _API_KEY = '3hwbSuqqT690uxjNYBktSQpa5ZrpYYR0Iofx7NcJHyA'
index e234fad38b12715d34e8741a83495e0cf181f2c6..871923e4c66afd4076db3022e59f502bba4881c4 100644 (file)
@@ -57,6 +57,7 @@ class NFLBaseIE(InfoExtractor):
                         )/
                     '''
     _VIDEO_CONFIG_REGEX = r'<script[^>]+id="[^"]*video-config-[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}[^"]*"[^>]*>\s*({.+})'
+    _WORKING = False
 
     def _parse_video_config(self, video_config, display_id):
         video_config = self._parse_json(video_config, display_id)