From: Remita Amine Date: Wed, 16 Dec 2020 20:47:50 +0000 (+0100) Subject: [anvato] Disable NFLTokenGenerator(closes #27449) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=164a4a5756f5a29b928dc1351522c094c0026266;p=youtube-dl [anvato] Disable NFLTokenGenerator(closes #27449) --- diff --git a/youtube_dl/extractor/anvato.py b/youtube_dl/extractor/anvato.py index a6410311c..98c5e6d38 100644 --- a/youtube_dl/extractor/anvato.py +++ b/youtube_dl/extractor/anvato.py @@ -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' diff --git a/youtube_dl/extractor/nfl.py b/youtube_dl/extractor/nfl.py index e234fad38..871923e4c 100644 --- a/youtube_dl/extractor/nfl.py +++ b/youtube_dl/extractor/nfl.py @@ -57,6 +57,7 @@ class NFLBaseIE(InfoExtractor): )/ ''' _VIDEO_CONFIG_REGEX = r']+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)