1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-20 01:42:50 +01:00

fix linter errors

This commit is contained in:
Audrey 2024-05-14 16:05:25 -04:00
parent 104e991b28
commit 4fa4bccabc

View File

@ -1,9 +1,10 @@
import itertools
import json
from .common import InfoExtractor
from ..utils import (
determine_ext,
ExtractorError,
determine_ext,
float_or_none,
join_nonempty,
parse_iso8601,
@ -56,8 +57,8 @@ def _call_api(self, slug, query, variables, message='Downloading JSON from Graph
def _paginate(self, slug, query, where):
for i in itertools.count(0):
page = self._call_api(slug,
query, {'where': where, 'first': 10, 'skip': i * 10},
page = self._call_api(
slug, query, {'where': where, 'first': 10, 'skip': i * 10},
message=f'Downloading page {i + 1}')
if not page:
break