def skroc(url): """ Extracts the destination URL of skroc.pl (and it's domains) shortened URLs. """ if url.endswith("/") or url.endswith("!"): url = url[:-1] response = append_char(url, "!", group_marker="__skroc__") return response
def urlie(url): """ Extracts the destination URL of url.ie shortened URLs. """ if url.endswith("/") or url.endswith("+"): url = url[:-1] response = append_char(url, "+") return response
def bitly(url): """ Extracts either bit.ly or shortened URLs, which make use of their API, destination URLs. """ response = append_char(url, "+", group_marker="__bitly__") return response