Comments (8)
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.57. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
from tiktok-api.
Right now the api is broken
from tiktok-api.
Just released a new update that fixed the video function. You'll have download the latest chromedriver from Google, and include the .exe in your path.
You have to update your TikTokApi version by running
pip install TikTokApi
Then here's the code for the link you provided
from TikTokApi.tiktok import TikTokapi
api = TikTokapi("browsermob-proxy", headless=False)
f = api.get_Video_By_Url("https://www.tiktok.com/@mmjiepai/video/6712998958161087749", return_bytes=1)
with open('test.mp4', 'wb') as filthign:
filthign.write(f)
This will write the video to test.mp4
from tiktok-api.
@davidteather I've tried the code above (using the same link) but it just wrote the following JSON into test.mp4:
{"statusCode":200,"contentType":"application/json","content":""}
from tiktok-api.
@RotemAkerman Apparently it broke during one of the updates. Just uploaded a new PyPi package so just update TikTokApi using pip and it should now work.
Official release release on github will come in a few hours.
V2.3.3 works correctly with getting a video by url
from tiktok-api.
@davidteather Thanks!
This seems to work now, but video does include the watermark...
from tiktok-api.
@davidteather BTW: How do I translate video link from
http://vm.tiktok.com/jN55fJ/ -> https://www.tiktok.com/@mmjiepai/video/6712998958161087749
- using Python
from tiktok-api.
Hi @davidteather , having issues running api.trending(10), it throws a 'selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH.' error.
The driver itself is in 'browsermob-proxy' dir. Is there a way to explicitly give it a path?
Thanks
from tiktok-api.
Related Issues (20)
- [BUG] - Seems like Pagination is broken? HOT 1
- [INSTALLATION] - Question about Obtaining and Configuring ms_token in the Project HOT 13
- Ha
- [INSTALLATION] - ModuleNotFoundError: No module named 'TikTokApi' HOT 3
- What does error_code 1031 mean?
- Just Want Text
- cause of "EmptyResponseException: None -> TikTok returned an empty response" error HOT 4
- [FEATURE_REQUEST] - Multiple hashtags for api
- Getting more video ids than 30 fails HOT 15
- I got error " Failed to get msToken from cookies" HOT 2
- [BUG] - Empty userInfo for small accounts HOT 1
- Videos generated in the last 24 hours for a specific word
- Any function returns permanently empty fields HOT 7
- 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
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.