pediapress / mwlib

mediawiki parser library
103 stars 35 forks source link

mwlib fails to fetch images if img_auth is enabled #44

Open dev-zero opened 10 years ago

dev-zero commented 10 years ago

The problem is in the download_to_file in mwlib/net/fetch.py: the CookieJar from the mwapi class is not forwarded to the new urllib2 opener.