show images from wk588.com in RSS reader

Words
109
Reading
1 min
Listen
Play
9y

3 days ago, I read the article in InoReader and troubled by the broken images:

图片.png

It is OK in wk588.com:
图片.png

After check details, I found that images should from https://img.wk588.com . However, they are https://wk588.com/ in Inoreader and other RSS readers.

So I pull one commit to update URLRedirectorRules:
https://github.com/ivysrono/URLRedirectorRules/commit/e158604cc12708c4664ea8e1d95e350f7ab35d57

And then, the article can show right images in InoReader.

But, I got the same error again today:
图片.png

After wasting a few minutes, I got the bug: my regex rule \w+ could not cover all URLs, just like

So I commit again and again.
Update \w+ to \S+ to cover - and add main_frame (URL) support to test easily.



Posted on Utopian.io - Rewarding Open Source Contributors

show images from wk588.com in RSS reader | Ecency