Skip to content

Commit ad9c669

Browse files
committed
fix wallhaven.cc imageByFragment regexp
1 parent f98a03e commit ad9c669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapers/Wallhaven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ imageByFragment:
1010
filename:
1111
- regex: "[^a-zA-Z\\d\\-._~ ]" # clean filename so that it can construct a valid url
1212
with: ""
13-
- regex: "^.*[ _.\\-]([a-z\\d]{6}).[a-zA-Z\\d]{3,}$" # try to extract ID postfix
13+
- regex: "^.*[ _.\\-]([a-z\\d]{6})\\.[a-zA-Z\\d]{3,}$" # try to extract ID postfix
1414
with: "https://wallhaven.cc/api/v1/w/$1"
1515
scraper: imageScraper
1616

0 commit comments

Comments
 (0)