mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
a8ad63bb41
commit
bf82b867b1
|
|
@ -354,11 +354,7 @@ def parse_feed_date(pub_date: str, unique_string_identifier: str) -> str:
|
||||||
try:
|
try:
|
||||||
published_date = date_from_string_format(pub_date2, [date_format])
|
published_date = date_from_string_format(pub_date2, [date_format])
|
||||||
except BaseException as exc:
|
except BaseException as exc:
|
||||||
if 'Z' not in pub_date and \
|
if date_format == "%a, %d %b %Y %H:%M:%S":
|
||||||
'EST' not in pub_date and \
|
|
||||||
'GMT' not in pub_date and \
|
|
||||||
'UT' not in pub_date and \
|
|
||||||
date_format == "%a, %d %b %Y %H:%M:%S":
|
|
||||||
errmsg = '| ' + pub_date2 + '| ' + str(exc)
|
errmsg = '| ' + pub_date2 + '| ' + str(exc)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue