Skip to content

Releases: davidteather/TikTok-Api

V4.0.4.1 - Add CITATION.cff

02 Dec 17:40
1902923
Compare
Choose a tag to compare
Merge pull request #766 from davidteather/add-citation

V4.0.4.1 - Add CITATION.cff

V4.0.4 - Fix Package Installation Issue

23 Sep 00:59
72d5a1e
Compare
Choose a tag to compare

V4.0.3 - Update Selenium, Optimizations

22 Sep 23:06
9ea5cb7
Compare
Choose a tag to compare

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 by_sound_page 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

V4.0.2 - Fix Methods With x-tt-params

21 Sep 22:58
26d2667
Compare
Choose a tag to compare

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: False which 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

  • get_suggested_users_by_id / get_suggested_hashtags_by_id / get_suggested_music_by_id
  • discover_hashtags / discover_music

V4.0.1 - Fix TikTokApi has no attribute region

07 Aug 00:37
1693455
Compare
Choose a tag to compare
  • 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 :)

V4.0.0 - Fixed downloading videos, improved detection masking, deprecated camel case methods

04 Aug 05:57
f1597cd
Compare
Choose a tag to compare
  • 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

  1. Replace all camel case functions with snake case)
    Ex: getUserObject -> get_user_object
  2. Change custom_did to custom_device_id
    This change better reflects what's going on in the frontend.
  3. 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 😄

V3.9.9.1 - Fix itemList key error

27 Jun 19:16
d4b912f
Compare
Choose a tag to compare

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

V3.9.9 - Avoid More Detection

10 Jun 02:05
25fb43b
Compare
Choose a tag to compare

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 :)

V3.9.8 - Update To Avoid Detection Better

02 Jun 23:29
3fa6ace
Compare
Choose a tag to compare
Merge pull request #606 from davidteather/nightly

V3.9.8 - Update to avoid some more detection

V3.9.7 - Add "x-secsdk-csrf-token" header and update some tests

02 Jun 00:33
faa3964
Compare
Choose a tag to compare

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)