in reply to Re^2: Making script more efficientin thread Making script more efficient
You can also apply the same techniques to your list of URLs. Factor out the commonalities and program for the differences.