itkach / mwscrape

Download rendered articles from MediaWiki API to CouchDB
Mozilla Public License 2.0
21 stars 5 forks source link

Not possible to login to CouchDB #7

Closed francwalter closed 9 years ago

francwalter commented 9 years ago

In the doc of CouchDB I can read that it were "wise" to create an admin to restrict the full access to the couchdb, and in the fresh couchdb installation in Futon on Apache CouchDB 1.6.1 I can read at the bottom right: Welcome to Admin Party! Everyone is admin. Fix this But in mwscrape it seems to be not possible to use parameters as login to a secured CouchDB. Without login I get an error: couchdb.http.Unauthorized: (u'unauthorized', u'You are not a server admin.')

itkach commented 9 years ago

The main use case for mwscrape is to populate couchdb running locally or on trusted local network, these couchdb instances were never meant to be open to the world. But it's not difficult to pass username and password on to couchdb client, I'll add that.

francwalter commented 9 years ago

Great, many thanks advancly :)

itkach commented 9 years ago

Fixed in ae8a0d38f6bd01b948e9febc8b95bddd56c1fdcc