1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 00:34:31 +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)
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.