More top-pages script improvements
More top-pages script improvements

Get rid of curl call. Use preq instead.
Add redirect handling.
Add timeout output + delay to avoid timeouts.

Change-Id: Ia4d06cc9ec2074185b45a77163ffe1a78b4f1c17

wikimedia/mediawiki-services-mobileapps,wikimedia/mediawiki-services-mobileapps,wikimedia/mediawiki-services-mobileapps,wikimedia/mediawiki-services-mobileapps,wikimedia/mediawiki-services-mobileapps,wikimedia/mediawiki-services-mobileapps