Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

Commit

Permalink
Merge pull request #37 from rafalohaki/patch-2
Browse files Browse the repository at this point in the history
Possibility to add ur own proxy list by url
  • Loading branch information
KevinLage authored Mar 18, 2020
2 parents a37736b + 471e872 commit 6a8b037
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions YouTube Livestream Botter.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ class proxy():

def update(self):
while True:
url = "https://api.proxyscrape.com/?request=getproxies&proxytype=http&timeout=10000&ssl=yes"
r = requests.get(url)

self.splited = r.text.split("\r\n") #scraping and splitting proxies
data = ''
urls = ["https://api.proxyscrape.com/?request=getproxies&proxytype=http&timeout=10000&ssl=yes","https://www.proxy-list.download/api/v1/get?type=https&anon=elite"]
for url in urls:
data += requests.get(url).text

self.splited += data.split("\r\n") #scraping and splitting proxies
time.sleep(600)

def get_proxy(self):
Expand Down

2 comments on commit 6a8b037

@XRayerX
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do I add proxies? I don't know much about programming :(

@woppdim
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create a videos views bot in exe...please please

Please sign in to comment.