We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a91b174 commit 80c1ea7Copy full SHA for 80c1ea7
w3lib/html.py
@@ -22,7 +22,7 @@
22
re.DOTALL | re.IGNORECASE,
23
)
24
_meta_refresh_re2 = re.compile(
25
- r'<meta\s[^>]*content\s*=\s*(?P<quote>["\'])(?P<int>(\d*\.)?\d+)\s*;\s*url=\s*(?P<url>.*?)(?P=quote)\shttp-equiv="refresh"',
+ r'<meta\s[^>]*content\s*=\s*(?P<quote>["\'])(?P<int>(\d*\.)?\d+)\s*;\s*url=\s*(?P<url>.*?)(?P=quote)[^>]*?\shttp-equiv\s*=[^>]*refresh',
26
27
28
0 commit comments