Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
Twint
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Twint
Commits
5794bc49
Commit
5794bc49
authored
Oct 26, 2018
by
andytnt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master'
parents
989e8321
81cd90fd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
Twint.py
Twint.py
+1
-0
twint/config.py
twint/config.py
+1
-0
twint/run.py
twint/run.py
+4
-1
No files found.
Twint.py
View file @
5794bc49
...
@@ -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
():
...
...
twint/config.py
View file @
5794bc49
...
@@ -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
twint/run.py
View file @
5794bc49
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment