Changelogs » Tiktokapi

PyUp Safety actively tracks 263,016 Python packages for vulnerabilities and notifies you when to upgrade.

Tiktokapi

3.5.3

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](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Connect with me on [LinkedIn](https://www.linkedin.com/in/davidteather)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.5.2

Fixed 265
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also, consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.5.1

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](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also, consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.5.0

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](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also, consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.4.9

I messed up a few of the last methods so here's the fix.
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also, consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.4.8

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
  * [search_for_users](https://github.com/davidteather/TikTok-Apithe-search_for_users-method)
  * [search_for_music](https://github.com/davidteather/TikTok-Apithe-search_for_music-method)
  * [search_for_hashtags](https://github.com/davidteather/TikTok-Apithe-search_for_hashtag-method)
  * [discover_type](https://github.com/davidteather/TikTok-Apithe-discover_type-method)
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also, consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.4.7

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](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.4.6

Read 235 for information
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.4.5

Issues Closed
  * Fix 115
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.4.4

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](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.4.3

Issues Closed
  * Hopefully Fixes 216
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.4.2

Issues Closed
  * Fixes 216
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.4.1

Issues Closed
  * Should fix 216
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.4.0

Issues Closed
  * 213
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.3.9

Issues Closed
  * 201
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.3.8

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](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.3.7

Fixes too many open files fixes 195
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.3.6

When video is deleted method returns none see 189
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.3.5

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](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.3.4

Harder to detect when sending requests.
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.3.3

Fixed videos without a watermark methods, only returns bytes now.
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.3.1

TikTok changed the structure of the user object and it's been fixed.
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.3.0

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](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.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

3.2.2

A few unreported bug fixes.
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.2.0

Fixed an issue with the duplicating of chromedriver instances
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  **Issues Closed**
  * 147
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.1.9

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](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  **New Methods** (all documented in readme.md)
  * userLikedbyUsername
  * userLiked
  
  
  Update with the following command
  
  pip install TikTokApi --upgrade

3.1.8.0

This time I actually fixed the user authentication proxies.
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Upgrade with
  
  pip install TikTokApi --upgrade

3.1.7

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](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  Upgrade with
  
  pip install TikTokApi --upgrade

3.1.6

I've added a few more methods, and documented a little better.
  
  Consider sponsoring me on github [here](https://github.com/sponsors/davidteather) or donating on paypal [here](https://www.paypal.me/dteather)
  
  Also consider using this API as a service it supports this project [here](https://rapidapi.com/rapidapideveloper/api/tiktok2/endpoints)
  
  **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