1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-30 04:08:01 +01:00

Shortened a line to 80 chars

This commit is contained in:
Ben Bryant 2020-04-20 00:41:29 -07:00
parent 157cf0bb37
commit ad60ff4700

View File

@ -162,7 +162,8 @@ class FunimationIE(InfoExtractor):
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, 'player data', default='')
text_tracks = self._parse_json(text_tracks_json_string, display_id, js_to_json, fatal=False) or [] text_tracks = self._parse_json(
text_tracks_json_string, display_id, js_to_json, fatal=False) or []
subtitles = {} subtitles = {}
for text_track in text_tracks: for text_track in text_tracks:
url_element = {'url': text_track['src']} url_element = {'url': text_track['src']}