[extractor/tiktok] Update API hostname (#5690)

Closes #5688
Authored by: redraskal
This commit is contained in:
Benjamin Ryan 2022-12-02 03:38:00 -06:00 committed by GitHub
parent ddf1e22d48
commit c9f5ce5118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ class TikTokBaseIE(InfoExtractor):
_WORKING_APP_VERSION = None _WORKING_APP_VERSION = None
_APP_NAME = 'trill' _APP_NAME = 'trill'
_AID = 1180 _AID = 1180
_API_HOSTNAME = 'api-h2.tiktokv.com' _API_HOSTNAME = 'api16-normal-c-useast1a.tiktokv.com'
_UPLOADER_URL_FORMAT = 'https://www.tiktok.com/@%s' _UPLOADER_URL_FORMAT = 'https://www.tiktok.com/@%s'
_WEBPAGE_HOST = 'https://www.tiktok.com/' _WEBPAGE_HOST = 'https://www.tiktok.com/'
QUALITIES = ('360p', '540p', '720p', '1080p') QUALITIES = ('360p', '540p', '720p', '1080p')