1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +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(
r'"textTracks": (\[{.+?}\])',
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 = {}
for text_track in text_tracks:
url_element = {'url': text_track['src']}