Fixed i2p urls going into normal list
This commit is contained in:
parent
59f3c627dc
commit
1695179a5b
|
@ -341,6 +341,8 @@ def quetre():
|
||||||
for item in tmp:
|
for item in tmp:
|
||||||
if re.search(torRegex, item):
|
if re.search(torRegex, item):
|
||||||
_list['tor'].append(item)
|
_list['tor'].append(item)
|
||||||
|
elif re.search(i2pRegex, item):
|
||||||
|
_list['i2p'].append(item)
|
||||||
else:
|
else:
|
||||||
_list['normal'].append(item)
|
_list['normal'].append(item)
|
||||||
mightyList['quetre'] = _list
|
mightyList['quetre'] = _list
|
||||||
|
@ -365,9 +367,12 @@ def libremdb():
|
||||||
continue
|
continue
|
||||||
if re.search(torRegex, item):
|
if re.search(torRegex, item):
|
||||||
_list['tor'].append(item)
|
_list['tor'].append(item)
|
||||||
|
elif re.search(i2pRegex, item):
|
||||||
|
_list['i2p'].append(item)
|
||||||
else:
|
else:
|
||||||
_list['normal'].append(item)
|
_list['normal'].append(item)
|
||||||
|
|
||||||
|
|
||||||
mightyList['libremdb'] = _list
|
mightyList['libremdb'] = _list
|
||||||
print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + 'Libremdb')
|
print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + 'Libremdb')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue