mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 08:52:55 +01:00
FlareSolverr: novelfull.com sometimes w/o expires of any kind
This commit is contained in:
parent
b146552e39
commit
b99560acca
1 changed files with 5 additions and 1 deletions
|
|
@ -191,7 +191,11 @@ def cookiejson_to_jarable(data):
|
|||
## (current global_cookie/
|
||||
expireKey = 'expires' if 'expires' in c else 'expiry'
|
||||
# logger.debug("expireKey:%s"%expireKey)
|
||||
if c[expireKey] > 30000000000:
|
||||
# logger.debug(c)
|
||||
## novelfull.com sometimes w/o expires of any kind
|
||||
if expireKey not in c:
|
||||
c[expireKey] = 0
|
||||
elif c[expireKey] > 30000000000:
|
||||
c[expireKey] = 30000000000
|
||||
# logger.debug(c['name'])
|
||||
# import datetime
|
||||
|
|
|
|||
Loading…
Reference in a new issue