This script parse and extract key-value pairs from wikidump. You should pull YAML request first from wikipedia API then feed the data to this extractor. Used libraries: pythonds, re, sys