mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-17 06:44:23 +01:00
Update input.py
This commit is contained in:
@@ -130,6 +130,14 @@ class InputHelper(object):
|
|||||||
"https://", "").rstrip("/").replace("/", "-"),
|
"https://", "").rstrip("/").replace("/", "-"),
|
||||||
)
|
)
|
||||||
yield yielded_task
|
yield yielded_task
|
||||||
|
elif CLEANTARGET_VAR in command:
|
||||||
|
for dirty_target in itertools.chain(str_targets, ipset_targets):
|
||||||
|
yielded_task = task.clone()
|
||||||
|
dirty_target = str(dirty_target)
|
||||||
|
yielded_task.replace(CLEANTARGET_VAR,dirty_target.replace(
|
||||||
|
"http://", "").replace("https://", "").rstrip("/").replace("/", "-"),
|
||||||
|
)
|
||||||
|
yield yielded_task
|
||||||
else:
|
else:
|
||||||
yield task
|
yield task
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user