From 98e84c5b6f5f5b3bc94b288b9c239a2af35d1f33 Mon Sep 17 00:00:00 2001 From: Ben Bryant Date: Thu, 23 Apr 2020 16:10:20 -0700 Subject: [PATCH] Updated the name of the subtitle search regex --- youtube_dl/extractor/funimation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/funimation.py b/youtube_dl/extractor/funimation.py index 73608d115..118a10293 100644 --- a/youtube_dl/extractor/funimation.py +++ b/youtube_dl/extractor/funimation.py @@ -161,7 +161,7 @@ class FunimationIE(InfoExtractor): player_page = self._download_webpage(player_url, display_id) text_tracks_json_string = self._search_regex( r'"textTracks": (\[{.+?}\])', - player_page, 'player data', default='') + player_page, 'subtitles data', default='') if not text_tracks_json_string: # Funimation player page unavailable due to robot detection. # Don't warn so that unit tests still pass this step.