Recent Releases of tiktokapi
tiktokapi - V7.0.0 - feat: New playlist class, fixes bot detection, update docstring
Happy TikTok will it or will it not get banned everyone I'm back for the experience 🎉 🥳 🎉
Breaking Change
* user().info -> Iterator[dict] now user().info -> Iterator[Playlist]
* New Playlist class! 🎉 #1207 thanks @LukasOpp
Fixes
* When loading a TikTok page it was being detected as a bot, this hopefully should be detected less due to: #1196, #1197 (@arhen),and my own fixes
* Fixes opts not defined error in navigator_userAgent.py
Chores
* Add webkit to create_session docstring #1202 @anarchopythonista
A merged pytest result of of the CI and locally on webkit with mstoken without proxy, not too shabby
tests/test_comments.py . [ 4%]
tests/test_hashtag.py .... [ 23%]
tests/test_integration.py F [ 28%]
tests/test_playlist.py F. [ 38%]
tests/test_search.py .s [ 47%]
tests/test_sound.py F. [ 57%]
tests/test_trending.py F [ 61%]
tests/test_user.py .F.. [ 80%]
tests/test_video.py ..s.
- Python
Published by davidteather about 1 year ago
tiktokapi - V6.5.1 - Add Webkit Browser Default
Full Changelog: https://github.com/davidteather/TikTok-Api/compare/V6.5.0...V6.5.1
- Python
Published by davidteather over 1 year ago
tiktokapi - V6.5.0 - Add Byte Streaming Support
What's Changed
- Add streaming download option to Video.bytes() by @cmooredev in https://github.com/davidteather/TikTok-Api/pull/1186
New Contributors
- @cmooredev made their first contribution in https://github.com/davidteather/TikTok-Api/pull/1186
Full Changelog: https://github.com/davidteather/TikTok-Api/compare/V6.4.0...V6.5.0
- Python
Published by davidteather over 1 year ago
tiktokapi - V6.4.0 - Add Video Download Support, Add Playlists, misc fixes
PR: #1178 @lhphat02 Fix user.videos crawling issue (https://github.com/davidteather/TikTok-Api/pull/1141) 4d7e0c0 @ekorian added support for statsV2 (https://github.com/davidteather/TikTok-Api/pull/1143) dd208c1 @bendavidsteel Restored functionality for download bytes method (https://github.com/davidteather/TikTok-Api/pull/1174) 9bc381e @wu5bocheng [PlayList] Add playlist to the user scrapy api (https://github.com/davidteather/TikTok-Api/pull/1177)
- Python
Published by davidteather over 1 year ago
tiktokapi - V6.3.0 - Fixes And Additional URL Params
- Add 'executablepath' field to the 'api.createsessions()' method (#1136)
- Fixed retries loop (#1133)
- Add option to select which browser playwright uses (#1129)
- add browser selection option to create_sessions method
- fix spelling typo
- Python
Published by davidteather almost 2 years ago
tiktokapi - V6.2.2 - New Safe Character Encoding
1122
- Python
Published by davidteather almost 2 years ago
tiktokapi - V6.2.1 - Small Count Bug Fixes
What's Changed
V6.2.1 by @davidteather in https://github.com/davidteather/TikTok-Api/pull/1113
Fix count parameter for hashtag, user, and trending classes (https://github.com/davidteather/TikTok-Api/pull/1108)
Fix trending count (https://github.com/davidteather/TikTok-Api/pull/1103)
Made author field optional (https://github.com/davidteather/TikTok-Api/pull/1099)
Fixed issue where error is raised for some videos that are missing the "author" field
Full Changelog: https://github.com/davidteather/TikTok-Api/compare/V6.2.0...V6.2.1
- Python
Published by davidteather about 2 years ago
tiktokapi - V6.2.0 - Various Bug Fixes
What's Changed
- V6.2.0 - Various Fixes by @davidteather in https://github.com/davidteather/TikTok-Api/pull/1089
- known issue #1088
Also, TikTok seems to be detecting the IPs of the GitHub actions 💀 (or ms_tokens are now tied to a specific ip) ``` ================================================== test session starts ================================================== platform darwin -- Python 3.11.2, pytest-7.4.0, pluggy-1.2.0 rootdir: /Users/davidteather/Documents/GitHub/TikTok-Api plugins: asyncio-0.21.1 asyncio: mode=Mode.STRICT collected 18 items
tests/testcomments.py . [ 5%] tests/testhashtag.py .... [ 27%] tests/testintegration.py . [ 33%] tests/testsearch.py .s [ 44%] tests/testsound.py .. [ 55%] tests/testtrending.py . [ 61%] tests/testuser.py ... [ 77%] tests/testvideo.py ..s. [100%]
======================================= 16 passed, 2 skipped in 84.27s (0:01:24) ======================================== ``` tests pass though 🫡
Full Changelog: https://github.com/davidteather/TikTok-Api/compare/V6.1.1...V6.2.0
- Python
Published by davidteather about 2 years ago
tiktokapi - V6.1.1 - Add Option To Suppress Playwright From Loading Different Resource Types
Can use suppress_resource_load_types=["image", "media"] in api.create_sessions() to stop playwright from loading the given media types
What's Changed
- Installation now requires python3.9+ by @dronavallipranav in https://github.com/davidteather/TikTok-Api/pull/1046
- Add an option to disable image & other resources form loading in playwright by @Wixome in https://github.com/davidteather/TikTok-Api/pull/1048
New Contributors
- @Wixome made their first contribution in https://github.com/davidteather/TikTok-Api/pull/1048
Full Changelog: https://github.com/davidteather/TikTok-Api/compare/V6.1.0...V6.1.1
Upgrade with
pip install TikTokApi --upgrade
- Python
Published by davidteather over 2 years ago
tiktokapi - V6.1.0 - Add User's Liked Videos
What's Changed
- Add user like by @dronavallipranav in https://github.com/davidteather/TikTok-Api/pull/1043
New Contributors
- @dronavallipranav made their first contribution in https://github.com/davidteather/TikTok-Api/pull/1043
Upgrade with
pip install TikTokApi --upgrade
- Python
Published by davidteather over 2 years ago
tiktokapi - V6.0.1 - Fix Installation Error
Fixed an error with pip install
Should be fixed now
pip install TikTokApi --upgrade
- Python
Published by davidteather over 2 years ago
tiktokapi - V6.0.0 - Async, Improve Maintainability, Give More User Options, Better Docs
Changes
- TikTokAPI now manages a fleet of playwright sessions to sign & make requests
- should be easier to circumvent bot navigation if requests are make by headful browser
- Fully async, will require code changes check examples/tests/readme if you need help
- Better docs (please make PRs if you notice any issues)
Deprecated
- Drop support for Python 3.7 & 3.8
- 3.7 - playwright supports 3.8+
- 3.8 - Our type hints require 3.9+
Update with
pip install --upgrade TikTokApi
Tests ``` tests/testcomments.py . [ 5%] tests/testhashtag.py .... [ 29%] tests/testintegration.py . [ 35%] tests/testsearch.py . [ 41%] tests/testsound.py .. [ 52%] tests/testtrending.py . [ 58%] tests/testuser.py ..s [ 76%] tests/testvideo.py ..s. [100%]
=================================== 15 passed, 2 skipped in 68.64s (0:01:08) =================================== ```
Fully pass for all implemented methods 😎 feels good to be back
We're close to 1 million downloads, that's absurd glad you've all enjoyed the project ðŸ¤
- Python
Published by davidteather over 2 years ago
tiktokapi - V5.2.0 - Add comments & A Few Fixes
Additions
- Comments are now available on Videos
TODO
User info route is exposed, although it uses msToken heavily and not sure how to work around that at the moment
Tests passing and tests still failing ``` tests/testcomments.py::testcommentpage PASSED tests/testcomments.py::testcommentpaging PASSED tests/testhashtag.py::testhashtagvideos PASSED tests/testhashtag.py::testhashtaginfo PASSED tests/testhashtag.py::testnonlatin1 PASSED tests/testintegration.py::testvideoattributes PASSED tests/testsound.py::testsoundvideos PASSED tests/testsound.py::testsoundinfo PASSED tests/testvideo.py::testvideoidfromurl PASSED tests/testvideo.py::testvideoinfo PASSED tests/testvideo.py::testvideo_bytes PASSED
tests/testsearch.py::testvideo FAILED tests/testsearch.py::testusers FAILED tests/testtrending.py::testtrendingvideos FAILED tests/testuser.py::testuserinfo FAILED tests/testuser.py::testuservideos FAILED tests/testuser.py::testuserliked FAILED ```
- Python
Published by davidteather over 3 years ago
tiktokapi - V5.1.1 - Update Sponsor Links on Readme
Nothing in code base changed, need to re-generate the pypi readme.
- Python
Published by davidteather almost 4 years ago
tiktokapi - V5.1.0 - Memory Improvement, Jupyter Support, Hierarchical Exceptions
New Suggested Usage
with TikTokApi() as api:
pass
Although old way of TikTokApi() works as well.
Exceptions - Now all derived from TikTokException - Some naming changes
Jupyter Support - Now able to run TikTokApi in a Jupyter notebook without extra configuration - Not available on windows microsoft/playwright-python #178
Improved Models - Throws an error if a sound has been removed - Video has a create_time & stats attribute (should probably add stats field to other models)
Current Problems - Hashtag.videos - Trending.videos - User.videos - All seem to be related to new TikTok changes I made #861 to discuss
pytest output
tests\test_hashtag.py F..
tests\test_integration.py F
tests\test_search.py ..
tests\test_sound.py ..
tests\test_trending.py F
tests\test_user.py .F.
tests\test_video.py ...
- Python
Published by davidteather almost 4 years ago
tiktokapi - V5.0.0 - Higher Level Object Modeling
IMPORTANT CHANGES * Please read the upgrading from V4 to V5 section on the readme * Higher level approach using objects * Auto-parsing of attributes and responses back into objects * Should be easier to work with (especially for new-comers not as familiar with this package) * dropped support for selenium (sorry but it's been too annoying to main multiple browsers)
If this broke your code please pin your dependency versions
V5 Example Usage ```py from TikTokApi import TikTokApi
verifyfp = "verifyxxx" api = TikTokApi(customverifyfp=verify_fp)
tag = api.hashtag(name="funny") print(tag.info())
for video in tag.videos(): print(video.id) for uvid in video.author.videos(): print(uvid.id) ```
- Python
Published by davidteather about 4 years ago
tiktokapi - V4.1.0 - General Fixes
Upgrade with pip install TikTokApi --upgrade
REMOVED * discoverhashtags,discovermusic (can be replicated with the "searchfor" methods giving it an empty string as query) * getsuggested & crawlers methods (think the endpoint is only available for desktop and the package uses IOS)
All Changes - Removed useless node dependency in tests - update gettrending.py to reflect new naming change - allow for mobile shortened URLs - add unit description on requestdelay - removed host&authority to bypass 403 error - fix by_trending - added more tiktok exception message logging
Feel free to connect on LinkedIn, I'd love to hear about how you're using the package! Feel free to sponsor me on GitHub it helps me maintain this :)
Thank you for using this package, David
- Python
Published by davidteather about 4 years ago
tiktokapi - V4.0.4 - Fix Package Installation Issue
Fixes #709
- Python
Published by davidteather over 4 years ago
tiktokapi - V4.0.3 - Update Selenium, Optimizations
Hey here's a brief summary of this release I am too tired to write a longer one - Update Selenium to work with the changed code (but please try to switch to playwright if you can it's a pain to support both) - Add bysoundpage similar to user_page - When going to the tiktok site directly unneeded content like .mp4 and images are not loaded
That's all :) Thank you for using this API
- Python
Published by davidteather over 4 years ago
tiktokapi - V4.0.2 - Fix Methods With x-tt-params
It appears that most of the methods have been fixed :). Big shout out to @MuffinFox for #699 and to @carcabot who found the new updated signature methods (and for the code I've used in the past). Thanks to everyone who helped on #695
Finally, if you're reading this thank you for supporting this API.
Update with pip install TikTokApi --upgrade
Kinda Broken :\
- by_trending -> only retrieves the first page of trending which TikTok then responds
hasMore: Falsewhich makes the code exit. Not sure how to get around this right now
Intermittent Issues
- by_hashtag -> sometimes throws error saying it doesn't exist
Methods Still Not Currently Working
- getsuggestedusersbyid / getsuggestedhashtagsbyid / getsuggestedmusicbyid
- discoverhashtags / discovermusic
- Python
Published by davidteather over 4 years ago
tiktokapi - V4.0.1 - Fix TikTokApi has no attribute region
- Fixed TikTokApi has no attribute .region
- Changed up tests to hopefully have CI pass more
- Add README to the doc generator
pip install TikTokApi --upgrade
I'm just a student who would love new connections :) LinkedIn Feel free to sponsor me on GitHub it helps me maintain this :)
- Python
Published by davidteather over 4 years ago
tiktokapi - V4.0.0 - Fixed downloading videos, improved detection masking, deprecated camel case methods
- Fix downloading tiktoks
- Fully deprecate old naming convention
- Convert did to device_id to be consistent with current state of the website
- Avoid detection further by comparing headers to my iOS device's
Run
pip install TikTokApi --upgrade
How to update from V3 to V4
- Replace all camel case functions with snake case)
Ex:
getUserObject->get_user_object - Change
custom_didtocustom_device_idThis change better reflects what's going on in the frontend. - Change
trending->by_trending
Sorry for kinda neglecting this repository, hope you enjoy these changes. All tests passed at least once across the different testing VMs, I really gotta find a better way to test this, let me know if you know of a better way thanks :)
I'm just a student who would love new connections :) LinkedIn Feel free to sponsor me on GitHub it helps me maintain this :)
I feel like I'm adding too many :) but maybe that's a result of me being up at 1am 😄
- Python
Published by davidteather over 4 years ago
tiktokapi - V3.9.9.1 - Fix itemList key error
Ok yeah the versioning for this is dumb but I want 4.0.0 to be a larger update (not sure what yet)
Feel free to add me on LinkedIn And if you want to sponsor me on GitHub
- Python
Published by davidteather over 4 years ago
tiktokapi - V3.9.9 - Avoid More Detection
Thanks for the PR #613 all tests passed on it (which they haven't done on GitHub actions for quite some time) thanks to #613 as of right now.
If they're passing this convincingly on GitHub actions scraping should be more efficient and less detectable for now.
Feel free to connect with me on LinkedIn
Feel free to sponsor me on GitHub.
Thanks :)
- Python
Published by davidteather over 4 years ago
tiktokapi - V3.9.8 - Update To Avoid Detection Better
- Python
Published by davidteather over 4 years ago
tiktokapi - V3.9.7 - Add "x-secsdk-csrf-token" header and update some tests
Seems like the discover methods are no longer working as frequently if at all with the use_test_endpoints=True, look at the diff for this pr (#603 ) specifically in the test files to see the methods that seem to be affected the most.
Also generate_did has been moved to a static function.
Feel free to connect with me on LinkedIn
(also the tests are passing on my machine just not GitHub actions because they're not on residential IPs some of the errors might be transient)
- Python
Published by davidteather over 4 years ago
tiktokapi - V3.9.5 - Some general fixes
Things were fixed 😄
- discover methods fixed
- byUsername & other HTML requests fixed
- Python
Published by davidteather almost 5 years ago
tiktokapi - V3.9.4 - Improved Downloading Video Handling
Changes * Updated documentation for customdid * customdid is maintained at the instance level if set * generatestaticdid added as a parameter to the TikTok constructor. If set to True it will generate and maintain a static customdid so you don't have to do it yourself. * Added generatedid method which returns a valid did which you can use however you want.
Sponsor me on GitHub Connect with me on LinkedIn
- Python
Published by davidteather almost 5 years ago
tiktokapi - V3.9.3 - The documentation and naming scheme update
This package has spent too long having its documentation listed in the readme of all places. I'm excited to announce that I've added a new auto-documenting part to the codebase. Hopefully, that makes this package that much more easy to deal with
Naming Scheme * All the methods have moved from camelCase to snake_case as it's annoyed me for a bit * BUT don't worry it's backward compatible and I intend to keep it that way for at least awhile
The last time I did this it was super effective so please connect with me on LinkedIn if you're reading this. I'm just a 1st year in college and anything helps, plus I spent like 3.5 hours on this update on a Sunday night.
- Python
Published by davidteather almost 5 years ago
tiktokapi - V3.9.2 - Update for TikTok Endpoint change
Changes * TikTok updated their endpoints and some JSON that it returned * Some maxCursor and minCursor have been deprecated due to it being changed on TikTok's end, so you may need to change these to restore functionality
If you're reading this you really should connect with me on LinkedIn I'm just a student who needs more connections. Also feel free to sponsor me
- Python
Published by davidteather almost 5 years ago
tiktokapi - V3.9.1 - Update for playwright 1.9.0
If you're reading this you really should connect with me on LinkedIn I'm just a student who needs more connections.
- Python
Published by davidteather almost 5 years ago
tiktokapi - V3.9.0 - Fix Playwright running in multitudes
See #464
Also the tests aren't passing but they should as they passed on the PR TikTok is just hitting them with captchas :(
- Python
Published by davidteather about 5 years ago
tiktokapi - V3.8.9 - Fix No Watermark Method
The main update is the fix of the no watermark method.
The naming scheme for that method has changed it is now get_video_no_watermark(self, video_url, return_bytes=1, **kwargs)
The other change is the introduction of get_tiktok_by_html(self, url, **kwargs) this was added a helper method of getvideono_watermark but it extracts the information from the HTML of a TikTok rather than API calls
To download a video here's example code ``` from TikTokApi import TikTokApi
api = TikTokApi.getinstance(usetest_endpoints=True)
data = api.getvideono_watermark('https://www.tiktok.com/@gordonramsayofficial/video/6910298199769009414?lang=en')
with open("test.mp4", "wb") as out: out.write(data) ```
- Python
Published by davidteather about 5 years ago
tiktokapi - V3.8.8 - Fix itemList Error
TikTok changed their structure of their API requests leading to a key error that should be fixed now.
And TikTok's Desktop Site is back! 🎊 kinda annoying while it was down
- Python
Published by davidteather about 5 years ago
tiktokapi - V3.8.7 - Fix getUser & secUid & userPager
- Python
Published by davidteather about 5 years ago
tiktokapi - V3.8.6 - Update Headers
TikTok seems to be blocking previous headers they've been updated to be more consistent with TikTok's site
- Python
Published by davidteather about 5 years ago
tiktokapi - V3.8.5 - Some fix for subsequent requests
- Python
Published by davidteather about 5 years ago
tiktokapi - V3.8.4 - Fix Endpoints With Did
Hey! You can now do api = TikTokApi.get_instance(use_test_endpoints=True) and it'll make requests to t.tiktok.com which seem to be less secure and that may help you make requests!
Also did parameter has been completely changed to custom_did
- Python
Published by davidteather about 5 years ago
tiktokapi - V3.8.3 - Changed a few things that might fix invalid requests
Please connect with me on LinkedIn
Consider sponsoring me on github here or donating on paypal here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather about 5 years ago
tiktokapi - V3.8.2 - Add Selenium Support
If playwright is bad for you do api = TikTokApi.get_instance(use_selenium=True)
Please connect with me on LinkedIn
Consider sponsoring me on github here or donating on paypal here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather about 5 years ago
tiktokapi - V3.8.1 - Fix Downloading Videos & More Fixes
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.8.0 - Fix Trending & UserPosts & Better Exception Handling & Dockerfile
You still gotta have your custom_verifyFp parameter
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.7.9 - Update Sound & Profile Endpoints
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.7.8 - Fix TikTok Endpoint Change
Important! See this comment for more information on how to create your own verifyFp parameter if it stops working.
More info on * #344 * #342 * #347
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.7.7 - Update getUser
TikTok changed an endpoint's required parameters literately 2 minutes after I published a package. I think they're out to drive me insane.
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.7.6 - Update to newer TikTok Endpoints
Fixes #338
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.7.5 - Fixes Issue With API Not Returning All Unique TikToks
Fixes #333
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.7.4 - Allow External Signing
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.7.1 - Fix Kwargs Issue
Fixed kwargs
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.7.0 - Switched to Playwright
Closes #208
There's been a lot of changes in this version to the playwright switch so you'll want to look at the examples again to avoid potential issues.
I'm expecting there to be an influx of issues filed in the next few days.
This is in preparation for the next release of this version which should be coming in a few hours.
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.6.3 - Added Deprecation Warning
This is in preparation for the next release of this version which should be coming in a few hours.
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.6.2 - Fix Extra parameter issues
Closes #319
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.6.1 - Updated a few endpoints
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.6.0 - Fix ByHashtag
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.5.9 - Allow For Custom DID Parameter
Since TikTok is checking if the DID matches to download a TikTok you'll need to implement something like the following to download TikToks, or you can use api.getVideoBy_URL see #296 for more information. ``` from TikTokApi import TikTokApi import random
api = TikTokApi() did = str(random.randint(10000, 999999999)) tiktoks = api.trending(custom_did=did)
for t in tiktoks: # The bytes of the TikTok to download b = api.getVideoByTikTok(t, customdid=did) ```
NOTE: I haven't experimented without using a randomly generated DID, so you may end up getting blocked or something. If you do get blocked change the DID variable again and retry.
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.5.8 - Fix Download Issue
Found a solution, most of the getvideoby methods won't currently work as I'm kinda tired right now and there's probably better logic to do this, but in the meantime, the following script will work when the package is updated (probably 30 minutes)
from TikTokApi import TikTokApi
api = TikTokApi()
tiktok_url = "https://www.tiktok.com/@kaweee1234/video/6883470508726258949"
video_bytes = api.get_Video_By_Url(tiktok_url)
It might be a while before fixing the other methods so use this one for now. If you have a TikTok object you can construct the URL yourself using the schema something like "https://www.tiktok.com/@{}/video/{}?lang=en".format(tiktok['author']['uniqueId'], tiktok['id']) but the use of that depends on what the schema you're getting looks like.
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.5.7 - Critical Trending Issue Fixed
Changed a few minor things but the trending function broke and is now fixed
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.5.6 - Fix TikTok Endpoint Deprecration
TikTok deprecated some endpoints
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.5.5 - Fix Language Parameter
TikTok changed lang parameter to language
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.5.4 - TikTokUser Class
Check out the TikTokUser class. I'm planning to add more methods if and when I have more time.
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.5.3 - Deprecated 3.5 - Added optional Executable path
DEPRECRATED PYTHON 3.5
People using this package on 3.5 get like 2 downloads a month so it was time.
Added optional executable path for chromedriver when creating the TikTokApi class.
Consider using this API as a service it supports this project here
Consider sponsoring me on github here or donating on paypal here
Connect with me on LinkedIn
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.5.2 - Fixed an issue
Fixed #265
Consider sponsoring me on github here or donating on paypal here
Also, consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.5.1 - Fix non-latin Hashtags
TikTok was handling non-latin hashtags strangely before, but they changed it and are handling it like an actual company so I've updated the code to do that.
Consider sponsoring me on github here or donating on paypal here
Also, consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.5.0 - Added before & after parameters
You can now pass before & after parameters, which are unix epochs to all methods, but note for some it may not work. The only one I know is that doesn't work is trending.
Resolved
- #193
Consider sponsoring me on github here or donating on paypal here
Also, consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.4.9 - Fixed Search For Methods
I messed up a few of the last methods so here's the fix.
Consider sponsoring me on github here or donating on paypal here
Also, consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.4.8 - Search for users/hashtags/music methods
I have cleaned the code, and I have added methods to search for hashtags, users, and music by a keyword. I'm also quarantined for the next two weeks so if you want me to add anything now's the time to request it.
New Methods
Consider sponsoring me on github here or donating on paypal here
Also, consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.4.7 - Fix Error and added new methods
Hey, there's been quite a few changes to the code and stuff. Code is also cleaner now.
Fixed
251
New Methods
There's a few new methods dealing with a user paging system.
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.4.6 - Async "Fix"
Read #235 for information
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.4.5 - Uses Current Thread
Issues Closed
- Fix #115
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.4.4 - Fixes An Issue with No Watermark method
This release fixes an issue that was getting errors for the no watermark endpoint. Unfortunately, the only videos before July 27th still applies to the constraints of that method.
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.4.3
Issues Closed
- Hopefully Fixes #216
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.4.2 - Fix
Issues Closed
- Fixes #216
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.4.1
Issues Closed
- Should fix #216
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.4.0 - Fixed New Required Parameters
Issues Closed
- #213
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.3.9 - Fixed MaxCount of TikTok
Issues Closed
- #201
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.3.8 - Better Video Without Watermark
Allows users to use the url returned without bytes for the video without watermark url, but it is slower than the faster method which is documented in the readme.
Issues Closed
- #197
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.3.7 - Fixes Too Many Open Files
Fixes too many open files fixes #195
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.3.6 - Returns None when video w/o watermark is not found
When video is deleted method returns none see #189
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.3.5 - Speed Upgrades & return_bytes for watermarkless
Methods are sped up once again. Especially the TikToks without watermarks method has been sped up thanks to @rezaarifandee
Tiktoks without watermark methods now have return_bytes parameters. Read documentation on that because it's a little tricky to actually request the bytes yourself.
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.3.4 - Updated Avoidance
Harder to detect when sending requests.
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.3.3 - Fixed Videos without Watermarks
Fixed videos without a watermark methods, only returns bytes now.
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.3.1 - Fixed By Username
TikTok changed the structure of the user object and it's been fixed.
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.3.0 - Fixed Puppeteer Detection
Fixed TikTok detecting this library. There's a few changes to the methods that will throw errors if they're currently not working.
I spent quite some time on this so please consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.2.3
Added the verifyFp, which fixes SOME methods, but pyppeteer is being detected by TikTok on a lot of routes.
Working Methods (for me at time of release) * VideoByUrl * bySound * discover methods * suggested methods * userPosts should work * trending
Not working * byHashtag * byUsername * getUser * getUserObject * getting objects
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.2.2
A few unreported bug fixes.
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.2.0
Fixed an issue with the duplicating of chromedriver instances
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Issues Closed * #147
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.1.9 - User Likes
I've added a few more methods (note: by default userLikes are hidden and this won't work if likes are hidden)
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
New Methods (all documented in readme.md) * userLikedbyUsername * userLiked
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.1.8 - Fixed Proxies w/ Authentication
This time I actually fixed the user authentication proxies.
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Upgrade with
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.1.7 - Proxy With Authentication Support
I forgot to add support for proxies with authentication in the last release so there's support for it now.
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
Upgrade with
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.1.6
I've added a few more methods, and documented a little better.
Consider sponsoring me on github here or donating on paypal here
Also consider using this API as a service it supports this project here
New Parameters * proxy - allows you to specify a proxy to make a call at. (Free proxies will most likely throw a BadResponseException) * language - made in the last release, but now documented. Is able to change the language call, but doesn't seem to do too much.
New Methods (all documented in readme.md) * getTikTokById * getTikTokByUrl * getSuggestedUsersbyID * getSuggestedUsersbyIDCrawler * getSuggestedHashtagsbyID * getSuggestedHashtagsbyIDCrawler * getSuggestedMusicbyID * getSuggestedMusicIDCrawler
Issues Closed * #129 * #130 * #61
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.1.4 - Downloading Videos W/O Watermark
I've added the ability to download videos without watermark as well as get more information about a user object.
New Methods (all documented in readme.md) * getUser * getVideoNo_Watermark
Issues Closed * #60 * #125
Update with the following command
pip install TikTokApi --upgrade
- Python
Published by davidteather over 5 years ago
tiktokapi - V3.1.3 - Better asyncio & hashtag handling
Update with
pip install TikTokApi --upgrade
Resolved
- #116
- Python
Published by davidteather over 5 years ago