Skip to content

Commit 6e371e4

Browse files
authored
Merge pull request #4 from yswtrue/master
fix when the category is all, then get an error
2 parents 4d3a4a8 + ec6fa94 commit 6e371e4

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

Proxy_List_Scrapper/__init__.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
import requests
1212
from requests.exceptions import ConnectionError
1313

14-
SSL = 'https://www.sslproxies.org/',
15-
GOOGLE = 'https://www.google-proxy.net/',
16-
ANANY = 'https://free-proxy-list.net/anonymous-proxy.html',
17-
UK = 'https://free-proxy-list.net/uk-proxy.html',
18-
US = 'https://www.us-proxy.org/',
19-
NEW = 'https://free-proxy-list.net/',
20-
SPYS_ME = 'http://spys.me/proxy.txt',
21-
PROXYSCRAPE = 'https://api.proxyscrape.com/?request=getproxies&proxytype=all&country=all&ssl=all&anonymity=all',
14+
SSL = 'https://www.sslproxies.org/'
15+
GOOGLE = 'https://www.google-proxy.net/'
16+
ANANY = 'https://free-proxy-list.net/anonymous-proxy.html'
17+
UK = 'https://free-proxy-list.net/uk-proxy.html'
18+
US = 'https://www.us-proxy.org/'
19+
NEW = 'https://free-proxy-list.net/'
20+
SPYS_ME = 'http://spys.me/proxy.txt'
21+
PROXYSCRAPE = 'https://api.proxyscrape.com/?request=getproxies&proxytype=all&country=all&ssl=all&anonymity=all'
2222
PROXYNOVA = 'https://www.proxynova.com/proxy-server-list/'
2323
PROXYLIST_DOWNLOAD_HTTP = 'https://www.proxy-list.download/HTTP'
2424
PROXYLIST_DOWNLOAD_HTTPS = 'https://www.proxy-list.download/HTTPS'
7.19 KB
Binary file not shown.

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
from setuptools import setup, find_packages
2-
31
# read the contents of your README file
42
from os import path
3+
4+
from setuptools import find_packages, setup
5+
56
this_directory = path.abspath(path.dirname(__file__))
67
with open(path.join(this_directory, 'README.md')) as f:
78
long_description = f.read()
89

910
setup(
1011
name='Proxy-List-Scrapper',
11-
version='0.2.0',
12+
version='0.2.1',
1213
packages=find_packages(),
1314
url='https://pypi.org/project/Proxy-List-Scrapper/',
1415
license='MIT License',

0 commit comments

Comments
 (0)