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 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