We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecbbeab commit e3b44faCopy full SHA for e3b44fa
postprocessing.py
@@ -37,12 +37,8 @@
37
38
with TikTokAPI() as api:
39
# with TikTokAPI(navigation_retries=3, navigation_timeout=60) as api:
40
- tiktokuser = api.user(csvuser)
41
- i = 0
+ tiktokuser = api.user(csvuser, video_limit=maxItems)
42
for video in tiktokuser.videos:
43
- if i >= maxItems:
44
- break
45
- i = i + 1
46
# print(video.create_time, video.desc)
47
print("URL = " + "https://tiktok.com/@" + csvuser + "/video/" + str(video.id))
48
fe = fg.add_entry()
0 commit comments