Skip to content

Conversation

buwant888
Copy link

Previously, when downloading videos from your profile (post mode), TikTokTool.py might have only fetched a partial list of videos. This was likely because the underlying f2 library was not explicitly instructed to retrieve all posts across all time periods if no specific time interval was provided by you.

This change modifies TikTokTool.py to automatically inject the --interval all argument into the f2 library's command-line call when --mode post (or -M post) is active and no --interval (or -i) argument has been specified by you.

This ensures that f2 is instructed to download all posts from the profile, regardless of their upload date, aligning with the expectation that all content should be retrieved unless explicitly limited by you. The solution also relies on f2's default --max-counts 0 (unlimited) for the number of items.

Previously, when downloading videos from your profile (post mode),
TikTokTool.py might have only fetched a partial list of videos. This was
likely because the underlying f2 library was not explicitly instructed
to retrieve all posts across all time periods if no specific time
interval was provided by you.

This change modifies TikTokTool.py to automatically inject the
`--interval all` argument into the f2 library's command-line call
when `--mode post` (or `-M post`) is active and no `--interval` (or `-i`)
argument has been specified by you.

This ensures that f2 is instructed to download all posts from the
profile, regardless of their upload date, aligning with the expectation
that all content should be retrieved unless explicitly limited by you.
The solution also relies on f2's default `--max-counts 0` (unlimited)
for the number of items.
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. 故障(bug) 代码问题导致的错误(Bugs caused by code problems) labels Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems) size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant