mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
merge #5783: [subscribestar] fix 'date' parsing in updated posts
This commit is contained in:
commit
9329c30b41
@ -127,6 +127,8 @@ class SubscribestarExtractor(Extractor):
|
||||
}
|
||||
|
||||
def _parse_datetime(self, dt):
|
||||
if dt.startswith("Updated on "):
|
||||
dt = dt[11:]
|
||||
date = text.parse_datetime(dt, "%b %d, %Y %I:%M %p")
|
||||
if date is dt:
|
||||
date = text.parse_datetime(dt, "%B %d, %Y %I:%M %p")
|
||||
|
Loading…
Reference in New Issue
Block a user