mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-13 18:05:39 +00:00
- Added XMind support
- Added export tag in result
This commit is contained in:
+7
-1
@@ -34,7 +34,7 @@ class QueryResult():
|
||||
"""
|
||||
|
||||
def __init__(self, username, site_name, site_url_user, status, ids_data=None,
|
||||
query_time=None, context=None):
|
||||
query_time=None, context=None, tags=None):
|
||||
"""Create Query Result Object.
|
||||
|
||||
Contains information about a specific method of detecting usernames on
|
||||
@@ -73,6 +73,12 @@ class QueryResult():
|
||||
self.context = context
|
||||
self.ids_data = ids_data
|
||||
|
||||
self.tags = ""
|
||||
if (tags is not None):
|
||||
TAGstring = "".join(['%s,' % tags for tags in tags])
|
||||
TAGstring = TAGstring[:-1]
|
||||
self.tags = TAGstring
|
||||
|
||||
return
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Reference in New Issue
Block a user