From 5ea1d902d3eaae12a58630956a0ec02adac1d22b Mon Sep 17 00:00:00 2001 From: Synarp Date: Wed, 12 Jun 2024 02:34:23 +0200 Subject: [PATCH] fix style issues --- yt_dlp/extractor/lbry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/lbry.py b/yt_dlp/extractor/lbry.py index e0ffbf479..49a849e68 100644 --- a/yt_dlp/extractor/lbry.py +++ b/yt_dlp/extractor/lbry.py @@ -112,7 +112,7 @@ def _metapage_entries(self, display_id, url, params): next_metapage_params = { **params, - "release_time": "<=%s" % metapage[-1]["release_timestamp"] + 'release_time': '<={}'.format(metapage[-1]['release_timestamp']), } last_metapage = metapage metapage = OnDemandPagedList( @@ -150,7 +150,7 @@ def _playlist_entries(self, url, display_id, claim_param, metadata): if qs.get('order', ['new'])[0] == 'new': entries = self._metapage_entries(display_id, url, params) else: - self.report_warning("Extraction is limited to 1000 Videos when not sorting by newest.") + self.report_warning('Extraction is limited to 1000 Videos when not sorting by newest.') entries = OnDemandPagedList( functools.partial(self._fetch_page, display_id, url, params), self._PAGE_SIZE)