non-stable extensions are marked red
This commit is contained in:
@@ -1 +1 @@
|
|||||||
{"threads": 5, "timeout": 10, "cookie": "", "auth": "", "User-Agent": "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36"}
|
{"threads": 3, "timeout": 10, "cookie": "", "auth": "", "User-Agent": "Opera/9.80 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 Version/12.16"}
|
||||||
@@ -102,6 +102,9 @@ class Extensions:
|
|||||||
continue
|
continue
|
||||||
print(' \u251c Extension Title: '.ljust(28) + '{}'.format(data[0]))
|
print(' \u251c Extension Title: '.ljust(28) + '{}'.format(data[0]))
|
||||||
print(' \u251c Extension Repo: '.ljust(28) + 'https://extensions.typo3.org/extension/{}'.format(extension))
|
print(' \u251c Extension Repo: '.ljust(28) + 'https://extensions.typo3.org/extension/{}'.format(extension))
|
||||||
|
if not 'stable' in data[2]:
|
||||||
|
print(' \u251c Current Version: '.ljust(28) + '{} ({})'.format(data[1], Fore.RED + data[2] + Style.RESET_ALL))
|
||||||
|
else:
|
||||||
print(' \u251c Current Version: '.ljust(28) + '{} ({})'.format(data[1], data[2]))
|
print(' \u251c Current Version: '.ljust(28) + '{} ({})'.format(data[1], data[2]))
|
||||||
json_list[extension] = {'Title': data[0], 'Repo': 'https://extensions.typo3.org/extension/{}'.format(extension), 'Current': '{} ({})'.format(data[1], data[2]), 'Version': '', 'Vulnerabilities':''}
|
json_list[extension] = {'Title': data[0], 'Repo': 'https://extensions.typo3.org/extension/{}'.format(extension), 'Current': '{} ({})'.format(data[1], data[2]), 'Version': '', 'Vulnerabilities':''}
|
||||||
if info['version']:
|
if info['version']:
|
||||||
|
|||||||
BIN
lib/typo3scan.db
BIN
lib/typo3scan.db
Binary file not shown.
Reference in New Issue
Block a user