(self)
| 41 | """Scraper内容读取器""" |
| 42 | |
| 43 | def __init__(self): |
| 44 | self.scraper_key = os.getenv("SCRAPER_API_KEY") |
| 45 | self.scraper_country_code = "us" |
| 46 | self.scraper_time_out = 40 |
| 47 | def readpage(self, url: str) -> str: |
| 48 | payload = {'api_key': self.scraper_key, |
| 49 | 'url': url, |
nothing calls this directly
no outgoing calls
no test coverage detected