youtube-viewer
youtube-viewer copied to clipboard
Importing custom proxy lists
There are a limited amount of TOR exit nodes, which means that YT can easier identify bots and block exit node connections. Please update to allow the user to import a custom proxy list to route traffic through.
thank you
Just made a few code changes allowing custom proxies provided using a text file, I can open a pull request but first of all I want to hear the opinion of the Developer, as I'm not too sure if this won't end in all public socks4/5 proxies getting blocked by youtube... It's even quiet pretty easy, in the end you simply disable the whole tor stuff when custom proxies lists are provided and change the puppeteer builder to simply fix the proxy parameter, like:
root 1480099 0.0 0.4 33906892 141876 ? Sl 01:31 0:00 \_ /usr/lib/chromium/chrome --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --no-sandbox --disable-dev-shm-usage --proxy-server=socks4://118.67.216.94:4145 --use-angle=swiftshader-webgl --use-gl=angle --mute-audio --headless --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,2816814810486582002,4358929370397030225,131072 --enable-features=NetworkService,NetworkServiceInProcess --disable-features=PaintHolding,TranslateUI