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

Method _push

lib/hccrawler.js:278–282  ·  view source on GitHub ↗

* @param {!Object} options * @param {!number} depth * @param {string} previousUrl * @return {!Promise}

(options, depth, previousUrl)

Source from the content-addressed store, hash-verified

276 * @return {!Promise}
277 */
278 async _push(options, depth, previousUrl) {
279 let { priority } = options;
280 if (!priority && options.depthPriority) priority = depth;
281 await this._queue.push(options, depth, previousUrl, priority);
282 }
283
284 /**
285 * @param {!Object} options

Callers 3

queueMethod · 0.95
_followSitemapMethod · 0.95
_followLinksMethod · 0.95

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected