tracking stuff
This commit is contained in:
12
vendor/snowplow/referer-parser/python/referer_parser/build_json.py
vendored
Executable file
12
vendor/snowplow/referer-parser/python/referer_parser/build_json.py
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
import json
|
||||
|
||||
import yaml
|
||||
|
||||
def build_json():
|
||||
searches = yaml.load(open('./data/referers.yml'))
|
||||
with open('./data/referers.json', 'w') as fp:
|
||||
json.dump(searches, fp)
|
||||
|
||||
if __name__ == "__main__":
|
||||
build_json()
|
||||
Reference in New Issue
Block a user