def get_url_data(url):
    response = requests.get(url)
    if response.status_code == 200:
        pos = RX.findall(response.content)
        if len(pos) > 0:
            return pos[0], url
    
    return url, url
dataset/ETHPy150Open niwinz/niwi-web/src/niwi/utils.py/get_url_data/original