Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions ProxyPy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('<div class="centeredProxyList freeProxyStyle">', '')
rep = rep.replace('</div>', '')
rep = k.get_text()
with open('ProxyPy_http.txt', 'a') as ww:
ww.writelines(rep)
ww.close()
Expand Down Expand Up @@ -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('<div class="centeredProxyList freeProxyStyle">', '')
rep = rep.replace('</div>', '')
with open('ProxyPy_socks4.txt', 'a') as ww:
ww.writelines(rep)
ww.close()


print('Removing Duplicates Please Wait')
sleep(2)

Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
______
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bs4
requests