Add some memoization, bitches love memoization.

Add a memoization function in order to avoid redundant requests and html parsing