Comments (5)
I noticed this too, but I think it has to do with invalid characters in the document MAL returns.
MAL doesn't return correct XML entities, so the parser dies when trying to parse it, and it doesn't return results.
The only way to fix it on my end is to extend the custom parser (there is one in libmal.py), or find a way for it to just ignore invalid entities.
Will look into it, thanks.
from trackma.
I think I've tried directly from chrome, and the same happens. I don't know if my browser tries to compress or not though ... I'm afraid it's entirely due to myanimelist api, and the only thing that could be done is to play with the words in the search query, maybe deleting one word after the other until we get a valid answer ...
from trackma.
Oh so you think that it's due to the query string?
Mhm, could you tell me which search words did you try?
from trackma.
Just checked again using Arpeggio of Blue Steel - Ars Nova as a test string:
- doesn't work:
http://myanimelist.net/api/anime/search.xml?q=Arpeggio+of+Blue+Steel+-+Ars+Nova - deleting the - doesn't either, so not a problem of urlencoding
http://myanimelist.net/api/anime/search.xml?q=Arpeggio+of+Blue+Steel+Ars+Nova - have to delete all but the first 2 words to work
http://myanimelist.net/api/anime/search.xml?q=Arpeggio+of - This works too:
http://myanimelist.net/api/anime/search.xml?q=Ars+Nova
It's not just about a number of words, because this works:
http://myanimelist.net/api/anime/search.xml?q=one+piece+Movie
I don't really know what fails on their side ...
from trackma.
Yes, this seems to be a problem on their side.
http://myanimelist.net/anime.php?q=To+Aru+Majutsu+no+Index
http://myanimelist.net/api/anime/search.xml?q=To+Aru+Majutsu+no+Index
I don't think there's anything I can do other than hope them to fix it. Which I don't think will happen, because the API is pretty much abandoned. Won't fix, but I accept suggestions.
from trackma.
Related Issues (20)
- Shikimori Request Pin doesnt work.
- Odd filename to series redirections
- [Qt] Crash when trying to open Settings menu HOT 3
- "player not found" error with flatpak version of mpv
- Cannot open folder HOT 2
- libmal causes frontend to crash when downloading list
- Does not recognise anime when scanning folder, but recognises when playing HOT 3
- Anilist not Working (Cloudflare protection) HOT 12
- Official Gentoo repository HOT 12
- My video files are not recognized by my trackma-gtk HOT 1
- I can't access my anime library HOT 5
- Crashing when trying to add OVA HOT 2
- "Open containing folder" action uses a hard-coded path for `xdg-open` HOT 2
- Cannot install `trackma+qt` on Fedora HOT 4
- English Titles for MyAnimeList anime?
- Trackma-gtk and trackma-qt4 interfaces do not work (I am on void linux) HOT 2
- [Request] "Last Updated" Column HOT 1
- Score is corrupted on systems with locale that uses comma as "floating point" delimeter HOT 2
- Trackma autostarts itself multiple times HOT 1
- 'FileFinder' object has no attribute 'find_module' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trackma.