Optimised Google Image and Video search Code

Also made a few URLs more efficient