From 57c83df17d4bb373e8814211aa3cfd5bde38d3ea Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 25 Nov 2022 22:23:12 -0300 Subject: [PATCH] iframe fixes #4 --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index ee0554c..ae4908b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -46,7 +46,7 @@ function recurseElement(page: Page, el: Element) { }); } } - if (["audio", "video", "img", "source"].includes(el.name)) { + if (["audio", "video", "img", "source", "iframe"].includes(el.name)) { if (el.attribs.src) { checkUrl(page, el, el.attribs.src); } else {