def parse_image_response(soup):
        """ Parse response and returns the urls

            Returns: urls (list)
                    [[Tile1, url1], [Title2, url2], ...]
        """
        urls = []
        for h in soup.findAll('li', attrs={'class': 'ld'}):
            t = h.find('a')
            r = t.get('aria-label')
            cleanr = re.compile('<.*?>')
            r = re.sub(cleanr, '', r)
            cleanl = re.compile('&#[\d]+(;)')
            r = re.sub(cleanl, '\'', r)
            img = t.find('img', attrs={'class': 'process'})
            url = img.get('data-src')
            urls.append({
                'title': r,
                'link': url
            })

        print('Yahoo parsed: ' + str(urls))

        return urls
 Parse response and returns the urls

            Returns: urls (list)
                    [[Tile1, url1], [Title2, url2], ...]
        
app/scrapers/yahoo.py