Commons:Batch uploading/US Air Force

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

US Air Force[edit]

And yet another branch of the military to pick clean. The US Air Force has a set of photos at their site. Not sure how much photo's we're talking about. The same logic as the Fema, navy and army can be used. Crawl all the galleries and extract the id (simple regex). The id's can be used like http://www.af.mil/photos/media_view.asp?id=314289 to get the image and metadata (beautifulsoup). The gallery structure can be used to make a temporary category structure. The name of the files should be like "US Air Force <id> <title>.jpg". Of course duplicate checking should be enabled like in all the other bots.

The source will be available here. Multichill (talk) 18:11, 23 October 2009 (UTC)[reply]

I felt like building something so I build two things:

  1. A category generator. I used it to generate a tree under Category:Images from the US Air Force based on the galleries at the website. {{Air Force header}} does all the magic. You can view the full list at Special:PrefixIndex/Category:Images from the US Air Force.
  2. A upload bot

The upload bot can work on these categories and fill them. If subject is set, it will upload to the subject category right away. Some example images can be found in:

Would be nice to set the subject on a lot of these categories before actually uploading the images. What do you think? Multichill (talk) 17:48, 16 January 2010 (UTC)[reply]


Assigned to Progress Bot name
Multichill On hold (Commons is short on disk space) BotMultichillT