Detects github and gitlab urls and gives back the domain (either github.com or gitlab.com) and the author + repo name