That did the trick. Thanks!

On Mon, Jun 21, 2010 at 1:24 PM, Brad Jorsch <b-jorsch@northwestern.edu> wrote:
On Mon, Jun 21, 2010 at 01:09:23PM -0700, Eric Sun wrote:
> >
> > This doesn't work (POST):
> > >>> req = urllib2.Request('http://en.wikipedia.org/w/api.php',
> > 'action=query&titles=The_Matrix&export&format=txt')

Try "export=1" instead of just "export".

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api