getShowBySlug(slug:"%s") {
%%s
}
-}''' % show_path
+}''' % show_path # noqa: UP031
if episode_path:
query = query % '''title
getVideoBySlug(slug:"%s") {
title
tvRating
}''' % episode_path
- ['getVideoBySlug']
else:
query = query % '''metaDescription
title
episode_title = title = video_data['title']
series = show_data.get('title')
if series:
- title = '%s - %s' % (series, title)
+ title = f'{series} - {title}'
info = {
'id': video_id,
'title': title,
if not slug:
continue
entries.append(self.url_result(
- 'http://adultswim.com/videos/%s/%s' % (show_path, slug),
+ f'http://adultswim.com/videos/{show_path}/{slug}',
'AdultSwim', video.get('_id')))
return self.playlist_result(
entries, show_path, show_data.get('title'),