ianweller/python-simplemediawiki — pull request #7 by hamano (2013-09-11 10:28:53+00:00)
Title: using LWPCookieJar insted FileCookieJar due to not implemented save()

I got following error:
>>> import simplemediawiki
>>> api = simplemediawiki.MediaWiki("http://mediawiki.org/test1/api.php", cookie_file="cookie.txt")
Traceback (most recent call last):
File "", line 1, in
File "/home/hamano/project/matomewiki/virtualenv/local/lib/python2.7/site-packages/simplemediawiki.py", line 113, in __init__
self._cj.save()
File "/usr/lib/python2.7/cookielib.py", line 1753, in save
raise NotImplementedError()
NotImplementedError

Perhaps we should use cookielib.LWPCookieJar insted cookielib.FileCookieJar.
Thank you.