[add] Using validated proxies
This commit is contained in:
parent
7d9efbbe7d
commit
02ef5e8de5
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
echo "Fetching fresh proxies"
|
||||
python3 /app/scrape_proxies.py | tee /mubeng/proxies.txt
|
||||
|
||||
/bin/mubeng --check --address 0.0.0.0:8080 --rotate 1 --method random --file /mubeng/proxies.txt --watch --timeout 10s
|
||||
echo "Validating proxies"
|
||||
/bin/mubeng --check --file /mubeng/proxies.txt --timeout 5s --output /mubeng/live_proxies.txt
|
||||
|
||||
/bin/mubeng --address 0.0.0.0:8080 --rotate 1 --method random --file /mubeng/live_proxies.txt --watch --timeout 10s
|
||||
|
Loading…
Reference in New Issue
Block a user