1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 14:22:56 +08:00

[Go90] Use old string formatting in order to support python2.6

This commit is contained in:
Jeremie J. Jarosh 2017-02-04 17:15:48 -06:00
parent 61799cc758
commit f4a31cf694

View File

@ -60,11 +60,11 @@ class Go90IE(InfoExtractor):
video_title = series_title
if episode_match is not None:
video_title = '{} S{:02d}E{:02d} {}'.format(
video_title = '%s S%02dE%02d %s' % (
series_title, int_or_none(season_number),
int_or_none(episode_number), episode_title)
elif episode_info:
video_title = '{} -- {}'.format(series_title, episode_info)
video_title = '%s -- %s' % (series_title, episode_info)
self.to_screen("Title: " + video_title)
video_description = self._og_search_description(webpage)