Commit 5794bc49 authored by andytnt's avatar andytnt

Merge remote-tracking branch 'upstream/master'

parents 989e8321 81cd90fd
...@@ -110,6 +110,7 @@ def initialize(args): ...@@ -110,6 +110,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.ES_count = {"likes":True, "replies":True, "retweets":True} c.ES_count = {"likes":True, "replies":True, "retweets":True}
c.Retweets = args.retweets
return c return c
def options(): def options():
......
...@@ -55,3 +55,4 @@ class Config: ...@@ -55,3 +55,4 @@ class Config:
Proxy_host = None Proxy_host = None
Proxy_port = 0 Proxy_port = 0
Proxy_type = None Proxy_type = None
Retweets = None
...@@ -11,7 +11,10 @@ class Twint: ...@@ -11,7 +11,10 @@ class Twint:
if config.Resume is not None and config.TwitterSearch: if config.Resume is not None and config.TwitterSearch:
self.init = f"TWEET-{config.Resume}-0" self.init = f"TWEET-{config.Resume}-0"
else: else:
self.init = "-1" if config.Profile_full | config.Retweets:
self.init = -1
else:
self.init = "-1"
self.feed = [-1] self.feed = [-1]
self.count = 0 self.count = 0
self.config = config self.config = config
......
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