Skip to content
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

html decode synopsis text as it can contain html character codes #15

Open
joyrider3774 opened this issue Oct 22, 2024 · 0 comments
Open

Comments

@joyrider3774
Copy link
Contributor

joyrider3774 commented Oct 22, 2024

It would seem synopsis when returned form the api can contain html code, it would be a good idea to run the synopsis results through some html decode function to get the "normal" non encoded text

Example game : https://www.screenscraper.fr/gameinfos.php?plateforme=53&gameid=37427
example api url (replace devid and devpassword: https://api.screenscraper.fr/api2/jeuInfos.php?devid=devid&devpassword=devpassword&softname=zzz&output=xml&ssid=test&sspassword=test&systemid=53&gameid=37427

download the example api url using curl or so or the system you use in artie. It will have html encoded chars for quotes among other things
image

Result in Muos
image

if you grab the url in a browser like chrome it won't display these as it would have html decoded the codes.
image

so potentially a simple html decode using some library might solve this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant