-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Json for BlizzardNews and AnimeUltime #2283
Comments
Hey, @Niehztog !
|
Pardon me. There is a feed item, that has tag with invalid utf8 characters. |
Hey, @ORelio! Same as for Niehtzog.
But in your case invalid character is in content_html, between words "Synopsis" and "voir" |
Great find! Should we add something like this to the main bridge abstract and give it as an option to bridge writers? https://github.com/neitanod/forceutf8 It's the top answer from this stackoverflow question |
Indeed, that site (Anime-Ultime) is latin1, not utf-8. I'll check if I can play with utf8_encode to solve this but @Bockiii's solution is even better. Would be nice to have, I encountered in the past some sites with broken encoding (html header saying utf-8 but content in latin1) so the ability to auto-fix encoding would be awesome 💯
|
Flickr seems to have the same problem. |
Hello @em92 Since |
Hey, @Niehztog! GJ on your part! |
Fixed in #2297 |
Fixed animeultime. Unable to reproduce the blizzardnews bug. |
It was because of a character in the feed at that point
So the question is, do we just ignore it or also force utf8 in the blizzard bridge. And do we force utf8 in general? |
If they usually return text in utf8 it's a bug on their part. The json standard requires utf8. We can just strip off non-utf8 byte sequences in |
Without this change, JsonFormat simply returns an empty array. #2283
Fixed. |
Without this change, JsonFormat simply returns an empty array. RSS-Bridge#2283
Describe the bug
Selecting the json output of the BlizzardNews or the AnimeUltime bridge, retrieves no output. All other feeds of those bridges work.
To Reproduce
Steps to reproduce the behavior:
Go to the html view of both bridges, see that content is retrieved. Then look at the mrss feed (content is retrieved), then look at the json feed (no content)
Expected behavior
Json works like with every other bridge
Additional context
Happens on my own instance and a few public instances i've tested.
I dont think the bridge maintainers can do something, this is probably a bug with the json feed producer. So @em92 maybe you.
The text was updated successfully, but these errors were encountered: