From 2c80be4325bb8ace57e0709f36ac3affd5cd5cdf Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sun, 8 Oct 2023 15:57:51 +0200 Subject: [PATCH] fix: invoke function --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 8314312..154e4c2 100644 --- a/src/index.js +++ b/src/index.js @@ -1,8 +1,8 @@ 'use strict' const { parseUrl, isMediaUrl } = require('@metascraper/helpers') +const timeSpan = require('@kikobeats/time-span')() const debug = require('debug-logfmt')('html-get') -const timeSpan = require('@kikobeats/time-span') const PCancelable = require('p-cancelable') const { AbortError } = require('p-retry') const htmlEncode = require('html-encode')