mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-07 04:17:21 +08: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…
x
Reference in New Issue
Block a user