From cacf3514c69a4f7df4d360cd52e4833b20cd2bc4 Mon Sep 17 00:00:00 2001 From: Nitin1818 <74262832+xbinner18@users.noreply.github.com> Date: Mon, 4 Oct 2021 17:12:12 +0530 Subject: [PATCH 1/3] Update ProxyPy.py Remove dead site. Remove Duplicate proxies codes. --- ProxyPy.py | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/ProxyPy.py b/ProxyPy.py index cdcfc98..c19d86f 100644 --- a/ProxyPy.py +++ b/ProxyPy.py @@ -26,22 +26,18 @@ def http(): url2 = 'https://www.proxy-list.download/api/v1/get?type=https' url1 = 'https://www.proxy-list.download/api/v1/get?type=http' - url3 = 'https://cyber-hub.net/proxy/http.txt' l = requests.get(url2) ll = requests.get(url1) - lll = requests.get(url3) with open('ProxyPy_http.txt', 'ab+') as w: w.write(l.content) w.write(ll.content) - w.write(lll.content) w.close() urll = 'https://www.proxy-daily.com/' r = requests.get(urll).text soup = BeautifulSoup(r, features='html.parser') k = soup.find('div', {'class': 'centeredProxyList freeProxyStyle'}) - rep = str(k).replace('
', '') - rep = rep.replace('
', '') + rep = k.get_text() with open('ProxyPy_http.txt', 'a') as ww: ww.writelines(rep) ww.close() @@ -77,17 +73,7 @@ def socks4(): ff.close() sleep(2) - - urll = 'https://www.proxy-daily.com/' - r = requests.get(urll).text - soup = BeautifulSoup(r, features='html.parser') - k = soup.find('div', {'class': 'centeredProxyList freeProxyStyle'}) - rep = str(k).replace('
', '') - rep = rep.replace('
', '') - with open('ProxyPy_socks4.txt', 'a') as ww: - ww.writelines(rep) - ww.close() - + print('Removing Duplicates Please Wait') sleep(2) From 7b8cefe13f7b30fb8ec7103db3558dd570ee6ce2 Mon Sep 17 00:00:00 2001 From: Nitin1818 <74262832+xbinner18@users.noreply.github.com> Date: Mon, 4 Oct 2021 17:24:42 +0530 Subject: [PATCH 2/3] Create requirements.txt --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..9d981c3 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +bs4 +requests From 7ec12004de7b29bc1e72e4d951bd94dc9d37568f Mon Sep 17 00:00:00 2001 From: Nitin1818 <74262832+xbinner18@users.noreply.github.com> Date: Mon, 4 Oct 2021 17:33:01 +0530 Subject: [PATCH 3/3] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 7d3cb5b..cbee85d 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,16 @@ Enjoy Cracking. Tested And The Proxies Are Performing Well On\ Storm.\ OpenBullet. + + # Run On termux codes below: + ______ +`pkg install python3 && pkg install git` + +`git clone https://github.com/41alderson/ProxyPy.git` + +`cd ProxyPy` + +`pip install -r requirements.txt` + +`python ProxyPy.py` +______