[anvato] Disable NFLTokenGenerator(closes #27449)

pull/27486/head
Remita Amine 2020-12-16 21:47:50 +01:00
parent 455951985b
commit 164a4a5756
2 changed files with 3 additions and 2 deletions

View 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'

View 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)