index prototype

master
Castro0o 10 years ago
parent 8f3d66d8ac
commit 465209a47f

File diff suppressed because one or more lines are too long

@ -120,12 +120,11 @@ def api_category(category, year): #Find all pages incategory and add to allworks
print '-------------' print '-------------'
print print
api_category('Graduation work', '2013') api_category('Graduation work', '2015')
json_allworks = open('allworks_mmdc.json', 'w') # save json json_allworks = open('allworks_mmdc.json', 'w') # save json
json.dump(allworks, json_allworks ) json.dump(allworks, json_allworks )
## TO DO
# How do handle work['Extra'] value? some tiles work['Extra'] contains: <gallery>, [[Pages]], text, etc

Loading…
Cancel
Save