1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

Updated the name of the subtitle search regex

This commit is contained in:
Ben Bryant 2020-04-23 16:10:20 -07:00
parent a8c4b05a9c
commit 98e84c5b6f

View File

@ -161,7 +161,7 @@ class FunimationIE(InfoExtractor):
player_page = self._download_webpage(player_url, display_id) player_page = self._download_webpage(player_url, display_id)
text_tracks_json_string = self._search_regex( text_tracks_json_string = self._search_regex(
r'"textTracks": (\[{.+?}\])', r'"textTracks": (\[{.+?}\])',
player_page, 'player data', default='') player_page, 'subtitles data', default='')
if not text_tracks_json_string: if not text_tracks_json_string:
# Funimation player page unavailable due to robot detection. # Funimation player page unavailable due to robot detection.
# Don't warn so that unit tests still pass this step. # Don't warn so that unit tests still pass this step.