Closed rr- closed 8 years ago
this is being implemented right now. the last commit contain search function but only for all
mode. this is only simple search. the actual anime
mode search can have multiple option.
the example for this simple search can be found here.
https://github.com/rachmadaniHaryono/python-mal/blob/master/docs/getting_started.rst
expect anime
mode search in next commit
the simple search anime is on a4b9bb13d8b3cf9bb1ea5111cbd33e72b310e352
now it can be used either from using generic search or directly use the function. it return a generator instead of list, so it will not directly load all the search page.
>>> import myanimelist.session
>>> session = myanimelist.session.Session()
>>> session.search('beebop', mode='anime')
>>> # or
>>> res = session.search_anime('beebop')
Thanks. BTW is MAL still using Incapsula?
i don't know. this thread didn't mention that they are still using it. And as i never encounter any connection error when developing the package.
Right now we can only query by IDs which isn't always useful.