diff --git a/YouTube Livestream Botter.py b/YouTube Livestream Botter.py index 983d8bd..7ece84f 100644 --- a/YouTube Livestream Botter.py +++ b/YouTube Livestream Botter.py @@ -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):