()
return parser.parse_args()
Gets the command line arguments
Gets the command line arguments
Gets the command line arguments
def get_args():
    """
    Gets the command line arguments
    """
    parser = argparse.ArgumentParser()
    parser.add_argument('-v', action='count', default=0, help='Change logging verbosity')
    parser.add_argument('-c', type=str, action='store', default='scraper.conf',
                        help='Config file containing patterns')
    return parser.parse_args()
def get_args ( ) : parser = argparse . ArgumentParser ( ) parser . add_argument ( '-v' , action = 'count' , default = 0 , help = 'Change logging verbosity' ) parser . add_argument ( '-c' , type = str , action = 'store' , default = 'scraper.conf' , help = 'Config file containing patterns' ) return parser . parse_args ( )