mirror of
https://github.com/hahwul/WebHackersWeapons.git
synced 2024-12-18 04:04:29 -05:00
y
This commit is contained in:
parent
105282ca5c
commit
25591fad6d
@ -5,14 +5,13 @@ data_hash = JSON.parse(file)
|
||||
|
||||
data_hash.each do | name, obj |
|
||||
puts "filename: "+name+".yaml"
|
||||
puts obj['Description']
|
||||
|
||||
# Make object
|
||||
obj = {}
|
||||
obj['name'] = name
|
||||
obj['description'] = obj['Description']
|
||||
obj['url'] = '' # parse DATA
|
||||
obj['categories'] = []
|
||||
obj['category'] = 'tool'
|
||||
obj['types'] = []
|
||||
obj['lang'] = [] # parse DATA
|
||||
obj['tags'] = []
|
||||
|
Loading…
Reference in New Issue
Block a user