def getInput():
    '\n    Check if the input is null. If that is the case simply listen for stdin\n    Returns the input that it got eg a url, uri or domain\n    Second return type is if debug messages should be enabled\n    '
    if (len(sys.argv) == 1):
        return (fileinput.input()[0], False, False)
    if (('-h' in sys.argv) or ('--help' in sys.argv)):
        help()
    domain = ''.join(exclude(sys.argv[1:], ['-v', '-vv']))
    if (domain == ''):
        print('Wrong input formation\n')
        help()
    return (domain, ('-v' in sys.argv), ('-vv' in sys.argv))
Check if the input is null. If that is the case simply listen for stdin
Returns the input that it got eg a url, uri or domain
Second return type is if debug messages should be enabled
def getInput():
    '\n    Check if the input is null. If that is the case simply listen for stdin\n    Returns the input that it got eg a url, uri or domain\n    Second return type is if debug messages should be enabled\n    '
    if (len(sys.argv) == 1):
        return (fileinput.input()[0], False, False)
    if (('-h' in sys.argv) or ('--help' in sys.argv)):
        help()
    domain = .join(exclude(sys.argv[1:], ['-v', '-vv']))
    if (domain == ):
        print('Wrong input formation\n')
        help()
    return (domain, ('-v' in sys.argv), ('-vv' in sys.argv))