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

V6.2.1 #1113

Merged
merged 5 commits into from
Feb 9, 2024
Merged

V6.2.1 #1113

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
project = "TikTokAPI"
copyright = "2023, David Teather"
author = "David Teather"
release = "v6.2.0"
release = "v6.2.1"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/main/usage/configuration.html#general-configuration
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ authors:
orcid: "https://orcid.org/0000-0002-9467-4676"
title: "TikTokAPI"
url: "https://github.com/davidteather/tiktok-api"
version: 6.2.0
date-released: 2023-11-27
version: 6.2.1
date-released: 2024-02-09
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ These sponsors have paid to be placed here and beyond that I do not have any aff
<b>TikAPI</b> is a paid TikTok API service providing a full out-of-the-box solution, making life easier for developers — trusted by 500+ companies.
</div>
</a>
<br>
<a href="https://www.ensembledata.com/?utm_source=github&utm_medium=githubpage&utm_campaign=david_thea_github&utm_id=david_thea_github" target="_blank">
<img src="https://raw.githubusercontent.com/davidteather/TikTok-Api/main/imgs/EnsembleData.png" width="100" alt="Ensemble Data">
<b></b>
<div>
<b>Ensemble Data</b> is the leading API provider for scraping all the major Social Media. <br> We provide 100+ Million posts / day to the largest Marketing and Social listening platforms.
</div>
</a>
</div>

## Table of Contents
Expand Down
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
2 changes: 1 addition & 1 deletion TikTokApi/api/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def __extract_from_data(self) -> None:
self.create_time = datetime.fromtimestamp(timestamp)
self.stats = data["stats"]

author = data["author"]
author = data.get("author")
if isinstance(author, str):
self.author = self.parent.user(username=author)
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
setuptools.setup(
name="TikTokApi",
packages=setuptools.find_packages(),
version="6.2.0",
version="6.2.1",
license="MIT",
description="The Unofficial TikTok API Wrapper in Python 3.",
author="David Teather",
Expand Down