Skip to content

Commit 651440f

Browse files
committed
2.023 fix nl regex in filters
1 parent d3402f1 commit 651440f

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
@@ -199,7 +199,7 @@ def flt_imgurl(r, suc, fail, ori = ori):
199199
fullurl = util.htmlescape(fullurl[0])
200200
else:
201201
fullurl = picurl
202-
_ = re.findall("return nl\('([a-z\d\-]+)'\)", r.text)
202+
_ = re.findall("return nl\('([a-zA-Z\d\-]+)'\)", r.text)
203203
if not _:
204204
break
205205
js_nl = _[0]

0 commit comments

Comments
 (0)