commit
56a6a12994
@ -13,7 +13,7 @@ scrape_url() {
|
|||||||
echo -e "Found \033[32m${count}\033[0m proxies on \033[33m${url}\033[0m"
|
echo -e "Found \033[32m${count}\033[0m proxies on \033[33m${url}\033[0m"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -n "$1" ]
|
if [ -n "$1" ]; then
|
||||||
PROXIES=""
|
PROXIES=""
|
||||||
if [ -f "$1" ]; then
|
if [ -f "$1" ]; then
|
||||||
while IFS= read -r url; do
|
while IFS= read -r url; do
|
||||||
@ -31,4 +31,4 @@ PROXIES=$(printf "%s\n" "$PROXIES" | sort -u)
|
|||||||
printf "%s\n" "$PROXIES" > proxies.txt
|
printf "%s\n" "$PROXIES" > proxies.txt
|
||||||
|
|
||||||
total_count=$(echo "$PROXIES" | wc -l)
|
total_count=$(echo "$PROXIES" | wc -l)
|
||||||
echo "Grand Total: ${total_count} proxies"
|
echo "Grand Total: ${total_count} proxies"
|
||||||
|
Loading…
Reference in New Issue
Block a user