reddit - PRAW: inconsistent behavior when trying to monitor ups/downs -


i trying monitor post, , plot number of ups , downs on 24 hour period (at 5 minute intervals). core of code looks this:

while true:    post = r.get_submission(submission_id='23a1zz')    time.sleep(5)    post.refresh()    print post.ups    time.sleep(5*60) 

however, not reflect true ups , downs. it's stuck @ same number though actual post pretty dynamic.

the api guidelines state same resource shouldn't requested more every 30 seconds. guideline backed cache, on both reddit , praw's end return same content if requested again within short while. http://praw.readthedocs.org/en/latest/pages/faq.html#i-made-a-change-but-it-doesn-t-seem-to-have-an-effect


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -