Skip to content

Commit

Permalink
[hitomi] use maxage for gg.js cache (#2863)
Browse files Browse the repository at this point in the history
cached values become invalid after 1-2 hours
  • Loading branch information
mikf committed Aug 26, 2022
1 parent d508b2c commit 946643c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gallery_dl/extractor/hitomi.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def items(self):
offset += 100


@memcache()
@memcache(maxage=1800)
def _parse_gg(extr):
page = extr.request("https://ltn.hitomi.la/gg.js").text

Expand Down

0 comments on commit 946643c

Please sign in to comment.