Skip to content

Commit f90558f

Browse files
committed
2.024 fix gallery thumbnail not none regex
1 parent 04ce92b commit f90558f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xeHentai/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def flt_pageurl(r, suc, fail):
109109
# input gallery response
110110
# add per image urls if suc; finish task if fail
111111
picpage = re.findall(
112-
'<a href="(%s/./[a-f0-9]{10}/\d+\-\d+)"><div title="Page' % RESTR_SITE,
112+
'<a href="(%s/./[a-f0-9]{10}/\d+\-\d+)">(?:<div>)?<div title="Page' % RESTR_SITE,
113113
r.text)
114114
if not picpage:
115115
try:

0 commit comments

Comments
 (0)