use limits to lower the number of queries
use generator for allpages query (list does not provide additional properties)
use timestamp of the last revision to determine if it is necessary to download a page