def _get_amazon_product(gdgt_url):
    soup = get_soup(gdgt_url)
    price_compare_divs = soup.findAll(
        'div', {'class': 'price-comparison-retailer'})
    if price_compare_divs:
        print 'HAS COMPARE'
        for div in price_compare_divs:
            link = div.find('a')
            if link:
                if link.find('img') and link.find('img')['alt'] == 'Amazon.com':
                    print link['href']
                    return _get_amazon_pid(link['href'])
    else:
        print 'WARNING: None amazon related'
    print None
Check the relevant amazon url
dataset/ETHPy150Open numb3r3/crawler-python/crawler/contrib/engadget.py/_get_amazon_product