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)
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`
+______
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