Closed gege-hoho closed 6 years ago
get_posts_popular(skip=0, limit=1, after=None, mine=False, hashtag=None, channel=None) return sometimes empty 'message'
If you're reporting a bug, please attach the output of the following commands:
$ pip show jodel_api Name: jodel-api Version: 1.2.8 Summary: Unoffical Python Interface to the Jodel API Home-page: https://github.com/nborrmann/jodel_api Author: Nils Borrmann Author-email: n.borrmann@googlemail.com License: MIT Location: c:\python27\lib\site-packages Requires: requests, future, mock, protobuf, varint $ pip -V pip 9.0.1 from c:\python27\lib\site-packages (python 2.7) $ python -V Python 2.7.14 $ python -c "import jodel_api; print(jodel_api.JodelAccount.version); print(jodel_api.JodelAccount.secret)" 4.75.2 MfmdSjJPnKVcFVUcemCpOzBPiFEBIQDbLjvpsUPK
The Jodel API is very inconsistent and generally sucks. Not much we can do about it, except work around it. Remove the limit=1 and pick the first entry in code.
limit=1
Issue
get_posts_popular(skip=0, limit=1, after=None, mine=False, hashtag=None, channel=None) return sometimes empty 'message'
Environment
If you're reporting a bug, please attach the output of the following commands: