Skip to content

Commit

Permalink
Fix count parameter for hashtag, user, and trending classes (#1108)
Browse files Browse the repository at this point in the history
  • Loading branch information
lysmm203 authored Feb 9, 2024
1 parent c2f73a6 commit 04431fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TikTokApi/api/hashtag.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async def videos(self, count=30, cursor=0, **kwargs) -> Iterator[Video]:
while found < count:
params = {
"challengeID": self.id,
"count": 30,
"count": count,
"cursor": cursor,
}

Expand Down
2 changes: 1 addition & 1 deletion TikTokApi/api/trending.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def videos(count=30, **kwargs) -> Iterator[Video]:
while found < count:
params = {
"from_page": "fyp",
"count": 30,
"count": count,
}

resp = await Trending.parent.make_request(
Expand Down
2 changes: 1 addition & 1 deletion TikTokApi/api/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def videos(self, count=30, cursor=0, **kwargs) -> Iterator[Video]:
while found < count:
params = {
"secUid": self.sec_uid,
"count": 35,
"count": count,
"cursor": cursor,
}

Expand Down

0 comments on commit 04431fb

Please # to comment.