Commit b1643cba authored by Francesco Poldi's avatar Francesco Poldi

Changed index names, removed duplicate arg

parent 144a228e
...@@ -188,7 +188,6 @@ def options(): ...@@ -188,7 +188,6 @@ def options():
help="Automatically clean Pandas dataframe at every scrape.") help="Automatically clean Pandas dataframe at every scrape.")
ap.add_argument("-ec", "--es-count", nargs="?", default="", ap.add_argument("-ec", "--es-count", nargs="?", default="",
help="What NOT to count: likes, replies, retweets; only for Elasticsearch.") help="What NOT to count: likes, replies, retweets; only for Elasticsearch.")
ap.add_argument("-pc","--pandas-clean", help="Automatically clean Pandas dataframe at every scrape.")
args = ap.parse_args() args = ap.parse_args()
return args return args
......
PUT twintGraph PUT twintgraph
{ {
"mappings": { "mappings": {
"items": { "items": {
......
PUT twint PUT twinttweets
{ {
"mappings": { "mappings": {
"items": { "items": {
......
PUT twintUser PUT twintuser
{ {
"mappings": { "mappings": {
"items": { "items": {
......
...@@ -38,9 +38,9 @@ class Config: ...@@ -38,9 +38,9 @@ class Config:
Store_pandas = False Store_pandas = False
Pandas_type = None Pandas_type = None
Pandas = False Pandas = False
Index_tweets = "twint" Index_tweets = "twinttweets"
Index_follow = "twintGraph" Index_follow = "twintgraph"
Index_users = "twintUser" Index_users = "twintuser"
Index_type = "items" Index_type = "items"
Debug = False Debug = False
Resume = None Resume = None
......
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