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:
parent
a8c4b05a9c
commit
98e84c5b6f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user