import requests


def get_urls_list(url_list_url):
    """ Takes in a url and returns list of urls for IOCs and IDS Rules
    :param url_list_url: URL from 401TRG github with list of urls for IOC files and IDS files
    :return: List of file URLS
    """
    url_list_request_data = requests.get(url_list_url, timeout=1)
    list_of_urls = url_list_request_data.text.splitlines()
    return list_of_urls