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,17 +5,16 @@ data_hash = JSON.parse(file)
|
|||||||
|
|
||||||
data_hash.each do | name, obj |
|
data_hash.each do | name, obj |
|
||||||
puts "filename: "+name+".yaml"
|
puts "filename: "+name+".yaml"
|
||||||
puts obj['Description']
|
|
||||||
|
|
||||||
# Make object
|
# Make object
|
||||||
obj = {}
|
obj = {}
|
||||||
obj['name'] = name
|
obj['name'] = name
|
||||||
obj['description'] = obj['Description']
|
obj['description'] = obj['Description']
|
||||||
obj['url'] = '' # parse DATA
|
obj['url'] = '' # parse DATA
|
||||||
obj['categories'] = []
|
obj['category'] = 'tool'
|
||||||
obj['types'] = []
|
obj['types'] = []
|
||||||
obj['lang'] = [] # parse DATA
|
obj['lang'] = [] # parse DATA
|
||||||
obj['tags'] = []
|
obj['tags'] = []
|
||||||
|
|
||||||
# Save file
|
# Save file
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user