mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-09 05:21:13 +02:00
adapter_royalroadcom: fix for ancient bug reading unixtime attr that's come back after years.
This commit is contained in:
parent
605fc0dbcf
commit
da5ec5b357
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ class RoyalRoadAdapter(BaseSiteAdapter):
|
|||
# locale dates differ but the timestamp is easily converted
|
||||
timetag = parenttag.find('time')
|
||||
if timetag.has_attr('unixtime'):
|
||||
ts = timetag['unixtime']
|
||||
return datetime.fromtimestamp(float(ts))
|
||||
else:
|
||||
## site has gone to crappy resolution "XX
|
||||
|
|
|
|||
Loading…
Reference in a new issue