mirror of
https://github.com/netzbegruenung/social-spider.git
synced 2024-05-05 04:03:41 +02:00
add key in result json file, update data
This commit is contained in:
parent
0cae85e77c
commit
ade59299cf
File diff suppressed because one or more lines are too long
|
@ -162,7 +162,8 @@ def main():
|
|||
if fbname is None:
|
||||
fbname = "--"
|
||||
if fbLikes + twtFollower + instaFollower > 0:
|
||||
result.update({str(idx): [typ, level, land, kreis, stadt, fbname, fbLikes, twtname, twtFollower, instaName, instaFollower]})
|
||||
key = "//".join([typ, level, land, kreis, stadt])
|
||||
result.update({key: [typ, level, land, kreis, stadt, fbname, fbLikes, twtname, twtFollower, instaName, instaFollower]})
|
||||
idx += 1
|
||||
|
||||
with open("docs/result.json", "w") as f:
|
||||
|
|
Loading…
Reference in a new issue