(self)
| 51 | """Scraper内容读取器""" |
| 52 | |
| 53 | def __init__(self): |
| 54 | self.scraper_key = os.getenv("SCRAPER_API_KEY") |
| 55 | self.scraper_country_code = "us" |
| 56 | self.scraper_time_out = 40 |
| 57 | def readpage(self, url: str) -> str: |
| 58 | payload = {'api_key': self.scraper_key, |
| 59 | 'url': url, |
nothing calls this directly
no outgoing calls
no test coverage detected