modified parser to accept number of images or links requested, and to return urls directly instead of page objects. network now uses parser successfully.