()
| 234 | |
| 235 | const cacheKey = `html-extract:${source.url}#${source.selector}`; |
| 236 | const fresh = async () => extractHtml(await defaultFetcher(source.url), source.url, source.selector); |
| 237 | |
| 238 | return cache ? cache.cached(cacheKey, fresh) : fresh(); |
| 239 | } |
no test coverage detected