roju / tiktok-live-recorder

A Python script for recording TikTok live streams
MIT License
17 stars 2 forks source link

how to use proxy? #12

Closed KevinDurantsBurner closed 12 months ago

KevinDurantsBurner commented 1 year ago

hi there, im a bit of a noob and don't quite understand how to use the proxy feature.

i've installed tor and when i type in for example main.py -user username -proxy this is what i get

2023-09-30 17:29:56,437 - INFO - Using proxy: socks5://XXX.X.X.X:XXXX 2023-09-30 17:29:58,442 - ERROR - SOCKSHTTPSConnectionPool(host='www.tiktok.com', port=443): Max retries exceeded with url: /@username /live (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSHTTPSConnection object at 0x00000206FB5DE210>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')) 2023-09-30 17:29:58,443 - INFO - Waiting 1 minute

roju commented 12 months ago

Make sure the tor proxy is not only installed but also running before using this feature.