fix(plugins): fpw parsers for JSON API, mirrors, and looser HTML
- fpw_proxy_list_download: parse JSON list/proxies bodies; jsDelivr monosans tier; crawl timeout 300s - fpw_socks_ssl: try parse_html_table before regex - fpw_hidemy: loose row scan when fixed columns fail - fpw_proxynova: plain IP/port row fallback - fpw_spys_one: HTTPS endpoints; crawl timeout 180s - fpw_gatherproxy: HTTPS + extra JSON key patterns - fpw_checkerproxy: lower min HTML length for parse - fpw_premproxy: ip:port regex fallback when few table rows Made-with: Cursor
This commit is contained in:
@@ -49,7 +49,7 @@ class FpwCheckerproxyPlugin(BaseHTTPPlugin):
|
||||
seen: Set[Tuple[str, int, str]] = set()
|
||||
htmls = await self.fetch_all(self.urls, timeout=25, retries=2)
|
||||
for html in htmls:
|
||||
if not html or len(html) < 200:
|
||||
if not html or len(html) < 80:
|
||||
continue
|
||||
for p in self._parse_ip_ports(html):
|
||||
k = (p.ip, p.port, p.protocol)
|
||||
|
||||
Reference in New Issue
Block a user