Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wpull/scraper/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down