Commit 4e6d3107 authored by Cody Zacharias's avatar Cody Zacharias Committed by GitHub

Add link

parent be7e037f
...@@ -50,7 +50,8 @@ def Elastic(Tweet, config): ...@@ -50,7 +50,8 @@ def Elastic(Tweet, config):
"user_id": Tweet.user_id, "user_id": Tweet.user_id,
"username": Tweet.username, "username": Tweet.username,
"day": day, "day": day,
"hour": Tweet.time.strftime("%H") "hour": Tweet.time.strftime("%H"),
"link": Tweet.link
} }
} }
...@@ -73,7 +74,8 @@ def Elastic(Tweet, config): ...@@ -73,7 +74,8 @@ def Elastic(Tweet, config):
"user_id": Tweet.user_id, "user_id": Tweet.user_id,
"username": Tweet.username, "username": Tweet.username,
"day": day, "day": day,
"hour": Tweet.time.strftime("%H") "hour": Tweet.time.strftime("%H"),
"link": Tweet.link
} }
} }
...@@ -97,7 +99,8 @@ def Elastic(Tweet, config): ...@@ -97,7 +99,8 @@ def Elastic(Tweet, config):
"user_id": Tweet.user_id, "user_id": Tweet.user_id,
"username": Tweet.username, "username": Tweet.username,
"day": day, "day": day,
"hour": Tweet.time.strftime("%H") "hour": Tweet.time.strftime("%H"),
"link": Tweet.link
} }
} }
...@@ -121,7 +124,8 @@ def Elastic(Tweet, config): ...@@ -121,7 +124,8 @@ def Elastic(Tweet, config):
"user_id": Tweet.user_id, "user_id": Tweet.user_id,
"username": Tweet.username, "username": Tweet.username,
"day": day, "day": day,
"hour": Tweet.time.strftime("%H") "hour": Tweet.time.strftime("%H"),
"link": Tweet.link
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment