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 407ff32 commit 507cf75Copy full SHA for 507cf75
1 file changed
htmldate/extractors.py
@@ -12,7 +12,6 @@
12
13
# coverage for date parsing
14
from dateparser import DateDataParser # type: ignore # third-party, slow
15
-from dateparser_data.settings import default_parsers
16
17
from dateutil.parser import parse as dateutil_parse
18
@@ -34,9 +33,8 @@
34
33
settings={
35
"NORMALIZE": True, # False may be faster
36
"PARSERS": [
37
- p
38
- for p in default_parsers
39
- if p not in ("no-spaces-time", "relative-time", "timestamp")
+ "custom-formats",
+ "absolute-time",
40
],
41
"PREFER_DATES_FROM": "past",
42
"PREFER_LOCALE_DATE_ORDER": True,
0 commit comments