from typing import List
import re


def getLinks(text: str) -> List[str]:
    """ Get a list of all URLs starting with https? in the given text """
    return [x[0] for x in
            re.findall(r"((http|https):\/\/[\S-]+(\.[\S-]+)*(\/[\S]+)*(\.[\S-]*)?(\?[\S-]+=[\S-]+(\&[\S-]+=[\S-]+)*)?)",
                       text,
                       re.IGNORECASE)]