File tree Expand file tree Collapse file tree
http_request_randomizer/requests/parsers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ def parse_proxyList(self):
2323
2424 content = response .content
2525 soup = BeautifulSoup (content , "html.parser" )
26- table = soup .find ("table" , attrs = {"class " : "display fpltable " })
26+ table = soup .find ("table" , attrs = {"id " : "proxylisttable " })
2727
2828 # The first tr contains the field names.
2929 headings = [th .get_text () for th in table .find ("tr" ).find_all ("th" )]
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ pytest == 3.0.7
66pytest-cov == 2.5.1
77python-dateutil == 2.6.0
88requests == 2.14.2
9- schedule == 0.4.2
9+ schedule == 0.4.2
10+ pyOpenSSL == 17.0.0
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def run_tests(self):
4747
4848setup (
4949 name = 'http_request_randomizer' ,
50- version = '1.0.4 ' ,
50+ version = '1.0.5 ' ,
5151 url = 'http://pgaref.com/blog/python-proxy' ,
5252 license = 'MIT' ,
5353 author = 'Panagiotis Garefalakis' ,
Original file line number Diff line number Diff line change 88
99@urlmatch (netloc = r'(.*\.)?free-proxy-list\.net$' )
1010def free_proxy_mock (url , request ):
11- return """<table border="0" cellpadding="0" cellspacing="0" class="display fpltable "
11+ return """<table border="0" cellpadding="0" cellspacing="0" id="proxylisttable "
1212id="proxylisttable">\n
1313<thead>\n
1414<tr>\n
You can’t perform that action at this time.
0 commit comments