Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains Captcha-related actions. Reddit sometimes requests Captchas in order to prevent spambots, and you can use this module to get more info on them. Unfortunately the library doesn't yet support answering Captchas on a widespread scale, and you have to use slightly modified variants of other functions to convince Reddit that you aren't a robot.
- needsCaptcha :: Monad m => RedditT m Bool
- newCaptcha :: Monad m => RedditT m CaptchaID
Documentation
needsCaptcha :: Monad m => RedditT m Bool Source #
Find out if the account currently logged in requires a captcha to be submitted for certain requests (like sending a private message or submitting a post).
newCaptcha :: Monad m => RedditT m CaptchaID Source #
Returns the ID of a captcha to be completed (the image for which can be found at http://reddit.com/captcha/$CAPTCHA_ID)