mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-07 09:23:28 +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/
|
## (current global_cookie/
|
||||||
expireKey = 'expires' if 'expires' in c else 'expiry'
|
expireKey = 'expires' if 'expires' in c else 'expiry'
|
||||||
# logger.debug("expireKey:%s"%expireKey)
|
# 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
|
c[expireKey] = 30000000000
|
||||||
# logger.debug(c['name'])
|
# logger.debug(c['name'])
|
||||||
# import datetime
|
# import datetime
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue