intelmq.bots.parsers.generic package¶
Submodules¶
intelmq.bots.parsers.generic.parser_csv module¶
Generic CSV parser
Parameters: columns: string delimiter: string default_url_protocol: string skip_header: boolean type: string type_translation: string data_type: string
-
intelmq.bots.parsers.generic.parser_csv.BOT¶ alias of
intelmq.bots.parsers.generic.parser_csv.GenericCsvParserBot
-
class
intelmq.bots.parsers.generic.parser_csv.GenericCsvParserBot(bot_id: str, start: bool = False, sighup_event=None, disable_multithreading: bool = None)¶ Bases:
intelmq.lib.bot.ParserBotParse generic CSV data. Ignoring lines starting with character #. URLs without protocol can be prefixed with a default value.
-
column_regex_search= None¶
-
columns= None¶
-
columns_required= None¶
-
compose_fields= {}¶
-
data_type= None¶
-
default_url_protocol= 'http://'¶
-
delimiter= ','¶
-
filter_text= None¶
-
filter_type= None¶
-
init()¶
-
parse(report)¶
-
parse_line(row, report)¶
-
recover_line(line: str) → str¶
-
skip_header= False¶
-
time_format= None¶
-
type= None¶
-
type_translation= {}¶
-