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
157ce1e5
Commit
157ce1e5
authored
Nov 08, 2018
by
andytnt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added -db
parent
4ba511bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Twint.py
Twint.py
+4
-0
No files found.
Twint.py
View file @
157ce1e5
...
@@ -37,6 +37,8 @@ def check(args):
...
@@ -37,6 +37,8 @@ def check(args):
error
(
"Error"
,
"Please specify an output file (Example: -o file.csv)."
)
error
(
"Error"
,
"Please specify an output file (Example: -o file.csv)."
)
elif
args
.
json
:
elif
args
.
json
:
error
(
"Error"
,
"Please specify an output file (Example: -o file.json)."
)
error
(
"Error"
,
"Please specify an output file (Example: -o file.json)."
)
if
args
.
database
is
None
:
error
(
"Error"
,
"Please specify database name."
)
def
loadUserList
(
ul
,
_type
):
def
loadUserList
(
ul
,
_type
):
""" Concatenate users
""" Concatenate users
...
@@ -77,6 +79,7 @@ def initialize(args):
...
@@ -77,6 +79,7 @@ def initialize(args):
c
.
Limit
=
args
.
limit
c
.
Limit
=
args
.
limit
c
.
Count
=
args
.
count
c
.
Count
=
args
.
count
c
.
Stats
=
args
.
stats
c
.
Stats
=
args
.
stats
c
.
Database
=
args
.
database
c
.
To
=
args
.
to
c
.
To
=
args
.
to
c
.
All
=
args
.
all
c
.
All
=
args
.
all
c
.
Essid
=
args
.
essid
c
.
Essid
=
args
.
essid
...
@@ -134,6 +137,7 @@ def options():
...
@@ -134,6 +137,7 @@ def options():
action
=
"store_true"
)
action
=
"store_true"
)
ap
.
add_argument
(
"--stats"
,
help
=
"Show number of replies, retweets, and likes."
,
ap
.
add_argument
(
"--stats"
,
help
=
"Show number of replies, retweets, and likes."
,
action
=
"store_true"
)
action
=
"store_true"
)
ap
.
add_argument
(
"-db"
,
"--database"
,
help
=
"Store Tweets in a sqlite3 database."
)
ap
.
add_argument
(
"--to"
,
help
=
"Search Tweets to a user."
)
ap
.
add_argument
(
"--to"
,
help
=
"Search Tweets to a user."
)
ap
.
add_argument
(
"--all"
,
help
=
"Search all Tweets associated with a user."
)
ap
.
add_argument
(
"--all"
,
help
=
"Search all Tweets associated with a user."
)
ap
.
add_argument
(
"--followers"
,
help
=
"Scrape a person's followers."
,
action
=
"store_true"
)
ap
.
add_argument
(
"--followers"
,
help
=
"Scrape a person's followers."
,
action
=
"store_true"
)
...
...
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