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