aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2020-12-16 21:47:50 +0100
committerRemita Amine <remitamine@gmail.com>2020-12-16 21:47:50 +0100
commit164a4a5756f5a29b928dc1351522c094c0026266 (patch)
tree39a2bcf8287787b322f1aab3a8b423d8f55f6764
parent455951985b97bccff1cb347e496ce2ab06f1f46d (diff)
[anvato] Disable NFLTokenGenerator(closes #27449)
-rw-r--r--youtube_dl/extractor/anvato.py4
-rw-r--r--youtube_dl/extractor/nfl.py1
2 files changed, 3 insertions, 2 deletions
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'<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)