show images from wk588.com in RSS readersteemCreated with Sketch.

in utopian-io •  7 years ago  (edited)

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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Your contribution cannot be approved because it does not follow the Utopian Rules.

Simple code contribution should not be accepted as valid dev contribution.

The only thing I can see is added a code block in JSON and then changed w to S.

You can contact us on Discord.
[utopian-moderator]