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
5b7301a2
Commit
5b7301a2
authored
Apr 28, 2019
by
NoSuck
Committed by
Francesco Poldi
Apr 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added metavar arguments to some add_argument calls (#402)
parent
d2861734
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
twint/cli.py
twint/cli.py
+7
-5
No files found.
twint/cli.py
View file @
5b7301a2
...
...
@@ -125,8 +125,10 @@ def options():
ap
.
add_argument
(
"-es"
,
"--elasticsearch"
,
help
=
"Index to Elasticsearch."
)
ap
.
add_argument
(
"-t"
,
"--timedelta"
,
help
=
"Time interval for every request."
)
ap
.
add_argument
(
"--year"
,
help
=
"Filter Tweets before specified year."
)
ap
.
add_argument
(
"--since"
,
help
=
"Filter Tweets sent since date (Example: 2017-12-27)."
)
ap
.
add_argument
(
"--until"
,
help
=
"Filter Tweets sent until date (Example: 2017-12-27)."
)
ap
.
add_argument
(
"--since"
,
help
=
"Filter Tweets sent since date (Example: 2017-12-27)."
,
metavar
=
"DATE"
)
ap
.
add_argument
(
"--until"
,
help
=
"Filter Tweets sent until date (Example: 2017-12-27)."
,
metavar
=
"DATE"
)
ap
.
add_argument
(
"--email"
,
help
=
"Filter Tweets that might have email addresses"
,
action
=
"store_true"
)
ap
.
add_argument
(
"--phone"
,
help
=
"Filter Tweets that might have phone numbers"
,
action
=
"store_true"
)
ap
.
add_argument
(
"--verified"
,
help
=
"Display Tweets only from verified users (Use with -s)."
,
...
...
@@ -141,8 +143,8 @@ def options():
ap
.
add_argument
(
"--stats"
,
help
=
"Show number of replies, retweets, and likes."
,
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
(
"--all"
,
help
=
"Search all Tweets associated with a user."
)
ap
.
add_argument
(
"--to"
,
help
=
"Search Tweets to a user."
,
metavar
=
"USERNAME"
)
ap
.
add_argument
(
"--all"
,
help
=
"Search all Tweets associated with a user."
,
metavar
=
"USERNAME"
)
ap
.
add_argument
(
"--followers"
,
help
=
"Scrape a person's followers."
,
action
=
"store_true"
)
ap
.
add_argument
(
"--following"
,
help
=
"Scrape a person's follows"
,
action
=
"store_true"
)
ap
.
add_argument
(
"--favorites"
,
help
=
"Scrape Tweets a user has liked."
,
action
=
"store_true"
)
...
...
@@ -177,7 +179,7 @@ def options():
nargs
=
"?"
,
default
=
"twintuser"
)
ap
.
add_argument
(
"--debug"
,
help
=
"Store information in debug logs"
,
action
=
"store_true"
)
ap
.
add_argument
(
"--resume"
,
help
=
"Resume from Tweet ID."
)
ap
.
add_argument
(
"--resume"
,
help
=
"Resume from Tweet ID."
,
metavar
=
"TWEET_ID"
)
ap
.
add_argument
(
"--videos"
,
help
=
"Display only Tweets with videos."
,
action
=
"store_true"
)
ap
.
add_argument
(
"--images"
,
help
=
"Display only Tweets with images."
,
action
=
"store_true"
)
ap
.
add_argument
(
"--media"
,
...
...
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