mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-06-10 10:50:49 +00:00
too fancy
This commit is contained in:
parent
b9c95d9b96
commit
2ab2a56ce8
|
@ -183,9 +183,8 @@ class TikTokBaseIE(InfoExtractor):
|
|||
|
||||
max_tries = len(self._APP_INFO_POOL) + 1 # _APP_INFO_POOL + _APP_INFO
|
||||
for count in itertools.count(1):
|
||||
self.write_debug(str(self._APP_INFO))
|
||||
real_query = self._build_api_query(query)
|
||||
device_id = 'PRIVATE' if self._KNOWN_DEVICE_ID else real_query['device_id']
|
||||
self.write_debug(str({**self._APP_INFO, 'device_id': device_id}))
|
||||
try:
|
||||
return self._call_api_impl(ep, real_query, video_id, fatal, note, errnote)
|
||||
except ExtractorError as e:
|
||||
|
|
Loading…
Reference in New Issue
Block a user