diff --git a/wpull/scraper/html.py b/wpull/scraper/html.py index 79312a5b..956c09e0 100644 --- a/wpull/scraper/html.py +++ b/wpull/scraper/html.py @@ -399,7 +399,7 @@ def iter_links_link_element(self, element): rel = element.attrib.get('rel', '') stylesheet = 'stylesheet' in rel icon = 'icon' in rel - inline = stylesheet or icon + inline = any((stylesheet, icon, 'manifest' in rel, 'preload' in rel, 'prefetch' in rel)) if stylesheet: link_type = LinkType.css