Hi,
I wanted to add simple sieve for imgclick.net thumbnails. It works fine, but I needed to remove XFileSharing because it was matching url of imgclick.net and failed to extract image.
{"imgclick":{"img":"main\.imgclick\.net\/i\/\d+\/\w+_t(\.\w+)","to":"$1$2"}}
Example links: http://imgclick.net/0utnikvkok5k/im.jpg.html // page link
http://main.imgclick.net/i/00963/0utnikvkok5k_t.jpg // thumbnail link
Could Imagus retry with other sieve if more than one matches and image failed to load?
If image fail to load (I see 404 in console, because wrong link is used) could Imagus spinner be removed? Right now it spins and spins even if nothing is loading.
Could you add debug log in browser console about what sieve was used?
Could you add imgclick.net to the official sieve?
Thanks
XFileSharing Free - imgclick.net and conflict with XFileSharing
-
- Posts: 1
- Joined: Jan 18, 2022 12:55 pm
Re: imgclick.net and conflict with XFileSharing
mgclick.net is using XFileSharing, it just needs a little change to make it work with imgclick.net:
{"XFileSharing":{"useimg":1,"link":"^([^/]+/)([\\da-z]{12})(/[\\w.-]+\\.(?:[Jj][Pp][Ee]?[Gg]|png|PNG|gif|GIF|bmp|BMP)(?:\\.html)?)$","url":"$1$2$3 p=view&id=$2&pre=1","res":"src=\"(https?://[^\"]+)\" (?:class=\"pic|id=\"[^\"]+\"\\s*>)","img":"^(?:i\\D{0,3}\\d*\\.|main\\.)?([^/]+/)(?:i/\\d{5}/([\\da-z]{12})_[^.]+|th/\\d{5}/([\\da-z]{12}))\\.jpg$"}}
The spinner spins on errors too (intentionally, so you can see that there's an issue), but with a different background color (error colors: red, yellow, gray). The only case when it hides is when "res" returns false. No option to hide all of them.
Debug mode would be nice at some point.
{"XFileSharing":{"useimg":1,"link":"^([^/]+/)([\\da-z]{12})(/[\\w.-]+\\.(?:[Jj][Pp][Ee]?[Gg]|png|PNG|gif|GIF|bmp|BMP)(?:\\.html)?)$","url":"$1$2$3 p=view&id=$2&pre=1","res":"src=\"(https?://[^\"]+)\" (?:class=\"pic|id=\"[^\"]+\"\\s*>)","img":"^(?:i\\D{0,3}\\d*\\.|main\\.)?([^/]+/)(?:i/\\d{5}/([\\da-z]{12})_[^.]+|th/\\d{5}/([\\da-z]{12}))\\.jpg$"}}
The spinner spins on errors too (intentionally, so you can see that there's an issue), but with a different background color (error colors: red, yellow, gray). The only case when it hides is when "res" returns false. No option to hide all of them.
Debug mode would be nice at some point.