This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!
To prevent your pad from appearing in the archive, put the word __NOPUBLISH__ (including the surrounding double underscores) anywhere in this pad. Changes will be reflected after the next archive update.
Warning: DirtyDB is used. This is fine for testing but not recommended for production. -- To suppress these warning messages change suppressErrorsInPadText to true in your settings.json About politics of representation of women on Wikipedia 08.12 Cath, Andre, look at Wikipedia API to collect information on Drawings Portraits or Women
Scripts & results See mw_client_cats.py & txt file result.
import mwclient from datetime import datetime
category = u'Portrait_drawings_of_women' # Portrait drawings of man
site=mwclient.Site('commons.wikimedia.org') cats= site.Categories[category] pages_under_cats = list(cats.members()) print len(pages_under_cats) files_under_cats = [page for page in pages_under_cats if page.namespace == 6] #takes only the files'pages for item in files_under_cats: #gets the info from each files'page name = item.name media_url = item.imageinfo[u'url'] #file url (where the file is stored) print name, media_url
About politics of representation of women on Wikipedia 09.12 + 10.12