mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-16 19:44:08 +02:00
Merge pull request #1242 from benmuth/fix-titles-with-empty-tag
This commit is contained in:
@@ -26,7 +26,7 @@ from ..logging_util import TimedProgress
|
||||
|
||||
HTML_TITLE_REGEX = re.compile(
|
||||
r'<title.*?>' # start matching text after <title> tag
|
||||
r'(.[^<>]+)', # get everything up to these symbols
|
||||
r'([^<>]+)', # get everything up to these symbols
|
||||
re.IGNORECASE | re.MULTILINE | re.DOTALL | re.UNICODE,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user