0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-29 03:23:02 +00:00

[ie/tiktok] Restore carrier_region API parameter (#9637)

Avoids some geo-blocks

Authored by: bashonly
This commit is contained in:
bashonly 2024-04-07 10:32:11 -05:00 committed by GitHub
parent 2ab2651a4a
commit fc53ec13ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -155,6 +155,7 @@ def _build_api_query(self, query):
'locale': 'en', 'locale': 'en',
'ac2': 'wifi5g', 'ac2': 'wifi5g',
'uoo': '1', 'uoo': '1',
'carrier_region': 'US',
'op_region': 'US', 'op_region': 'US',
'build_number': self._APP_INFO['app_version'], 'build_number': self._APP_INFO['app_version'],
'region': 'US', 'region': 'US',