Comments (4)
@theparcel What part of your code doesn't work? Since you added me on your repository it seems like the downloader.py file works fine at least for me.
Edit: I'll open a issue in your repository instead of on here
from tiktok-api.
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 1.00. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
from tiktok-api.
I forgot to change the example files with the new update. There is no longer a trending_tags() method as they are not displayed on TikTok's main page. Below is code that should work.
from TikTokApi import TikTokapi
# Starts The Api Class
api = TikTokapi("browsermob-proxy/bin/browsermob-proxy")
# The Number of trending TikToks you want to be displayed
results = 10
# Searches for the top trending hashtag of TikTok
result = api.search_by_hashtag("funny")
for tiktok in result:
# Prints the text of the tiktok
print(tiktok['itemInfos']['text'])
print(len(result))
api.quit_browser()
I will change that example file.
from tiktok-api.
If i use your code it works well, if i put your code on my previous working code it gives me something wrong without any error :s Can you help me, i really don't understand what is wrong with my code that worked well with your previous api :(
from tiktok-api.
Related Issues (20)
- Is this repo available now?
- music have 40k videos but scrab only 4k videos HOT 3
- [FEATURE_REQUEST] - What you want here
- [INSTALLATION] - Change the region of content HOT 8
- [BUG] - Your Error Here HOT 2
- Issue with User HOT 2
- 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'
- [QUESTION] - How to use proxies to get anothor region TikToks? HOT 4
- 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
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.