rule management
This commit adds some color and icons (let me know if this does not work for you)
to the diagnostic messages. It also allows you to delete by the rule
value and hides the ids. This works because you cannot have rules with
duplicate values.
@@ -232,6 +232,7 @@ class Twarc2:
params = expansions.EVERYTHING.copy()
resp = self.get(url, params=params, stream=True)
for line in resp.iter_lines():
+
# quit & close the stream if the event is set
if event and event.is_set():
log.info('stopping filter')
