summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/trovo.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/trovo.py')
-rw-r--r--yt_dlp/extractor/trovo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/trovo.py b/yt_dlp/extractor/trovo.py
index 545a672..7d800ae 100644
--- a/yt_dlp/extractor/trovo.py
+++ b/yt_dlp/extractor/trovo.py
@@ -63,7 +63,7 @@ class TrovoIE(TrovoBaseIE):
'title': 'šŸ’„IGRAMO IGRICE UPADAJTEšŸ’„2500/5000 2022-06-28 22:01',
'live_status': 'is_live',
},
- 'skip': 'May not be live'
+ 'skip': 'May not be live',
}]
def _real_extract(self, url):
@@ -77,7 +77,7 @@ class TrovoIE(TrovoBaseIE):
},
})
if live_info.get('isLive') == 0:
- raise ExtractorError('%s is offline' % username, expected=True)
+ raise ExtractorError(f'{username} is offline', expected=True)
program_info = live_info['programInfo']
program_id = program_info['id']
title = program_info['title']