MCPcopy
hub / github.com/yujiosaka/headless-chrome-crawler / _markRequested

Method _markRequested

lib/hccrawler.js:495–499  ·  view source on GitHub ↗

* @param {!Object} options * @return {!Promise} * @private

(options)

Source from the content-addressed store, hash-verified

493 * @private
494 */
495 async _markRequested(options) {
496 if (!options.skipDuplicates) return;
497 const key = generateKey(options);
498 await this._cache.set(key, '1');
499 }
500
501 /**
502 * @param {!Object} options

Callers 3

_startRequestMethod · 0.95
_requestMethod · 0.95

Calls 1

setMethod · 0.45

Tested by

no test coverage detected