MCPcopy
hub / github.com/constverum/ProxyBroker / _pipe

Method _pipe

proxybroker/providers.py:225–232  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

223 domain = 'checkerproxy.net'
224
225 async def _pipe(self):
226 exp = r'''href\s*=\s*['"](/archive/\d{4}-\d{2}-\d{2})['"]'''
227 page = await self.get('https://checkerproxy.net/')
228 urls = [
229 'https://checkerproxy.net/api%s' % path
230 for path in re.findall(exp, page)
231 ]
232 await self._find_on_pages(urls)
233
234
235class Proxz_com(Provider):

Callers

nothing calls this directly

Calls 2

_find_on_pagesMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected