Topic on Manual talk:Pywikibot

Jump to navigation Jump to search

Massive image upload with pywikibot

Discasto (talkcontribs)

Hi all. In the last years, I've been created some tools to upload free images from (mainly) government webs in Spain (for instance, most of the images in :commons:Category:Images from Ayuntamiento de Madrid have been uploaded by me using said tools). I've developed them as Python notebooks that run either on PAWS or locally by using pywikibot. I'm thinking of turning them into a flickr2commons-like tool (that is, with a web front-end from the toolserver), but, at the moment, upload of images by means of pywikibot is a task that takes several seconds per image (I assume this is a constraint set by any kind of policy). Is there a way to speed image upload (flickr2commons massively upload images) but still using pywikibot? Any contact person or link I can use to understand how I can proceed? Thanks

TheAeroExperience (talkcontribs)

Hello. pywikibot has builtin support for compressed files. I have no clue if you have enough permissions/capabilities after the upload but it may help in general. A look in the source of similar tools could also help, for example: Manual:Pywikibot/ - Also remember that bulk uploading of images is a heavy task because of the following distribution, tagging, content checking, etc. workflow each image upload triggers (sooner or later).

Also take a look at the commons wiki if you haven't already:


Discasto (talkcontribs)

Thank you, but this is not what I'm looking for. Flickr2commons does massive uploads without any any of the burdens mentioned by you. Therefore, it's possible to do it. However, it seems as if pywikibot is not able to do it in the same way. What am I missing?

Reply to "Massive image upload with pywikibot"