Got resumption token through regular expression parsing. Second URL return working, also added sleep of 30 seconds between calls to ensure that server does not timeout