Fixed i2p urls going into normal list

This commit is contained in:
Hygna 2022-09-28 18:20:54 +01:00
parent 59f3c627dc
commit 1695179a5b
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -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')