Comments (13)
Yeah, I see the extra space on line 32.
In theory, it shouldn't matter and I was getting valid signatures last time I tried it out.
I'll take a look at it either today or tomorrow though.
from tiktok-api.
Could you provide your example code that you are running?
from tiktok-api.
This is your code, just with the space removed and www.tiktok.com substituted with m.tiktok.com
from tiktok-api.
Can you also provide an example of the code where you called the API from?
from tiktok-api.
tiktok = TikTokapi()
data = tiktok.trending(200)
print(len(data))
from tiktok-api.
So I looked at it and at least for me the signature thing was working.
The weird thing is that I am able to get 141 results when I select to do 200.
The limit may be the website trending page I'll use wireshark tomorrow and see where the apps database calls are going to.
from tiktok-api.
Okay, im very interested to see what is the issue
from tiktok-api.
So you doing the change that first link with a space to m.tiktok.com just solved the signature issue not the limit thing right?
Making unofficial APIs really sucks sometimes. I didn’t have much time today to debug to figure out what was causing the issue or anything. The only thing I can think of is that the trending tiktok website limits to presumably 141 videos.
Tomorrow I should have more free time to figure out what’s wrong with it.
from tiktok-api.
So you doing the change that first link with a space to m.tiktok.com just solved the signature issue not the limit thing right?
Yes, now the code always gets the signature, and before it was a 1 in 10 chance. Maybe its just a issue with my region or something and not necessarily a problem with the code.
Tomorrow I should have more free time to figure out what’s wrong with it.
I totally get that, im just interested in this and im glad someone else is. Hope to hear from you soon!
from tiktok-api.
Hey, David,
Did you find anything that would help solve the problem?
from tiktok-api.
I haven’t been able to yet. Sorry.
from tiktok-api.
It seems like I've been able to resolve the issue. I'm not sure why or how, but it looks like it's able to retrieve more than 200 for me at least. I should have a new PyPi update for V2.1.8 in at most 2 hours.
Thanks for using api!
from tiktok-api.
Hi David,
I'm using the userPosts method to get videos by a given creator, but it seems to only be returning 100 videos? Do you know if there is a way to get around that limit?
from tiktok-api.
Related Issues (20)
- Legal Implications of Using TikTok Data for Insights as Per Its Terms of Service
- [FEATURE_REQUEST] - Regarding creating a session
- [BUG] - cannot import name 'TikTokApi' from 'TikTokApi' HOT 1
- [QUESTION] - How to use proxies to get anothor region TikToks? HOT 5
- Not able to fetch more than 10 users for a particular keyword
- How to deploy TikTokApi script? HOT 1
- Getting EmptyResponseException HOT 3
- Data from the past HOT 2
- [FEATURE_REQUEST] - Get more infos on users ans geography
- Info on tiktok.com/api/ params use
- [QUESTION] - Can I get Tiktok video download url using TikTok-Api? HOT 1
- [BUG] Error handling if user does not exist
- [FEATURE_REQUEST] - Function for users - get followers
- [BUG] - Loading session via cookies HOT 3
- [BUG] - Failed to run even hashtag_example i added ms_token HOT 5
- How can i get any account region from @username?
- Download videos from a single user on tiktok (no watermark) HOT 1
- [INSTALLATION] - Create a fetch loop
- [INSTALLATION] - I managed to run my script perfectly! but seems that we are stuck with webpage limit?
- NotImplementedError using video.bytes()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiktok-api.