Tor: Configure wget, curl, youtube-dl instead of wrapping them

master
Pierre Neidhardt 2019-02-27 16:42:21 +01:00
parent 465d2e16cd
commit a6f731cc5f
6 changed files with 8 additions and 9 deletions

View File

@ -0,0 +1,2 @@
# Use Tor:
--proxy socks5://127.0.0.1:9050

2
.curlrc Normal file
View File

@ -0,0 +1,2 @@
## Use Tor:
socks5 = localhost:9050

View File

@ -1,3 +0,0 @@
#!/bin/sh
curl --socks5 localhost:9050 -H "User-Agent: " "$@"

View File

@ -1,3 +0,0 @@
#!/bin/sh
torsocks wget "$@"

View File

@ -1,3 +0,0 @@
#!/bin/sh
youtube-dl --proxy socks5://127.0.0.1:9050 "$@"

4
.wgetrc Normal file
View File

@ -0,0 +1,4 @@
http_proxy = http://localhost:8118
https_proxy = http://localhost:8118
ftp_proxy = http://localhost:8118
use_proxy = on