Commit 47f31d56 authored by andytnt's avatar andytnt

Add --get-replies

parent 8e2ac55d
...@@ -105,6 +105,7 @@ def initialize(args): ...@@ -105,6 +105,7 @@ def initialize(args):
c.Proxy_port = args.proxy_port c.Proxy_port = args.proxy_port
c.Proxy_type = args.proxy_type c.Proxy_type = args.proxy_type
c.Retweets = args.retweets c.Retweets = args.retweets
c.Get_replies = args.get_replies
return c return c
def options(): def options():
...@@ -186,6 +187,7 @@ def options(): ...@@ -186,6 +187,7 @@ def options():
ap.add_argument("--replies", help="Display replies to a subject.", action="store_true") ap.add_argument("--replies", help="Display replies to a subject.", action="store_true")
ap.add_argument("-pc", "--pandas-clean", ap.add_argument("-pc", "--pandas-clean",
help="Automatically clean Pandas dataframe at every scrape.") help="Automatically clean Pandas dataframe at every scrape.")
ap.add_argument("--get-replies", help="All replies to the tweet.", action="store_true")
args = ap.parse_args() args = ap.parse_args()
return args return args
......
...@@ -59,3 +59,4 @@ class Config: ...@@ -59,3 +59,4 @@ class Config:
Retweets = False Retweets = False
Query = None Query = None
Hide_output = False Hide_output = False
Get_replies = False
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