Releases: Fluxticks/TikTokDL
Fix Unused Imports
Fix Issues Caused By Changes in TikTok API
Changes made to the TikTok API caused issues with waiting for certain network requests, which were fixed in this update.
To note: Currently the package no longer solves the captcha due to changes with the verification method, but this is on the TODO.
Allow Downloading of Larger Videos
The package will now check the content-length
of the request body before attempting to download the video. Videos that are larger than 8MB will be downloaded using an alternative method, however this 8MB
limit will likely be updated in a future version to a value that is closer to the actual limit.
Enforce datetime timezones to UTC
Small update that ensures that all timezones are read as a timezone aware datetime objects that use the UTC timezone
v2.0.0
What's Changed
- CAPTCHA is now always requested as a
slide
challenge and attempted before further access. - Supports using browsers other than Firefox
- Note that if the
download
flag is set toTrue
you must use Firefox, as otherwise the download will timeout.
- Note that if the
- Now works inside of Docker containers
- License has changed from MIT License to GNU GPLv3
Better Error Handling and Retries
Made changes to exception handling to improve the retry logic loop
Changes
- Changed error handling to capture all exceptions of class
Exception
- Retry loop no longer re-throws the original error that caused the attempt to fail
- Added new error
RetryLimitReached
for when the retry count limit is reached - Access the original error that caused the failed attempt by accessing the
offending_error
attribute of theRetryLimitReached
error - Updated the URLs used for running CI tests
Hot Fix for TikTok Updates
A hot fix to address errors caused by TikTok updating CAPTCHA data formatting
Add Support for Earlier Python Versions
Now supports down to at least 3.8.x (earlier versions have not been tested)
Changes
- Changes made to type-hinting implementation
Updated Python Requirements
Changes
- Removed BeautifulSoup4 (bs4) dependency
- Removed lxml dependency
Fixes for 2024
Update fixes issues caused by changes on TikTok's side.
No breaking changes in this update, but some things to note are below:
Changes
- TikTok is now forced to load using a mobile viewport, this was to fix issues mentioned in #3 .
- No longer supports choosing a desired browser.
- TikTokDL is required to use Firefox due to an unknown issue with chromium & webkit.
- No longer supports multiple "download strategies".
- Old primary download strategy was broken by mobile viewport requirements.