Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed hashtag search pagination #1126

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

trislee
Copy link
Contributor

@trislee trislee commented Mar 11, 2024

TikTok appears to have limited the number of posts that can be returned for a single hashtag search to 35 (e.g. bellingcat/tiktok-hashtag-analysis#28).

Similar to how the User.liked method works, I set the batch size to 35 videos per request.

TikTok appears to have limited the number of posts that can be returned for a single hashtag search to 35 (e.g. bellingcat/tiktok-hashtag-analysis#28).

Similar to how the `User.liked` method works, I set the batch size to 35 videos per request.
@trislee trislee changed the title Update hashtag.py Set hashtag search pagination Mar 11, 2024
@trislee trislee changed the title Set hashtag search pagination Fixed hashtag search pagination Mar 11, 2024
Copy link

sonarcloud bot commented Apr 6, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@davidteather davidteather changed the base branch from main to 6.3.0 April 12, 2024 17:14
@davidteather
Copy link
Owner

LGTM

@davidteather davidteather merged commit 861a355 into davidteather:6.3.0 Apr 12, 2024
1 of 3 checks passed
davidteather added a commit that referenced this pull request Apr 12, 2024
* Add 'executable_path' field to the 'api.create_sessions()' method (#1136)
* Fixed retries loop (#1133)
* Add option to select which browser playwright uses (#1129)
* add browser selection option to create_sessions method
* fix spelling typo

---------

Co-authored-by: David Teather <34144122+davidteather@users.noreply.github.com>

* Update hashtag.py (#1126)

TikTok appears to have limited the number of posts that can be returned for a single hashtag search to 35 (e.g. bellingcat/tiktok-hashtag-analysis#28).

Similar to how the `User.liked` method works, I set the batch size to 35 videos per request.

* add executable path to str

* bump ver

---------

Co-authored-by: kkordik <99617240+Kkordik@users.noreply.github.com>
Co-authored-by: ekorian <korian.edeline@gmail.com>
Co-authored-by: Will Howes <39531537+willmhowes@users.noreply.github.com>
Co-authored-by: Tristan Lee <tristan@bellingcat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants