from bs4 import BeautifulSoup
import re


def get_image_urls(html):
    """Parse image URL from HTML content
    """
    soup = BeautifulSoup(html, 'html.parser')
    i = 0
    urls = []
    for a in soup.find_all('a', {'class': 'rg_l'}):
        i += 1
        href = a['href']
        m = re.match(r'.*?imgurl=(.*?)&.*', href)
        if m:
            urls.append(m.group(1))
    return urls