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
c081834c
Commit
c081834c
authored
Aug 09, 2019
by
Francesco Poldi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Hide_output to cli #496
parent
1a4ec728
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
twint/__version__.py
twint/__version__.py
+1
-1
twint/cli.py
twint/cli.py
+2
-0
No files found.
twint/__version__.py
View file @
c081834c
VERSION
=
(
1
,
2
,
5
)
VERSION
=
(
1
,
2
,
6
)
__version__
=
'.'
.
join
(
map
(
str
,
VERSION
))
twint/cli.py
View file @
c081834c
...
...
@@ -114,6 +114,7 @@ def initialize(args):
c
.
Custom_query
=
args
.
custom_query
c
.
Popular_tweets
=
args
.
popular_tweets
c
.
Skip_certs
=
args
.
skip_certs
c
.
Hide_output
=
args
.
hide_output
return
c
def
options
():
...
...
@@ -198,6 +199,7 @@ def options():
ap
.
add_argument
(
"-cq"
,
"--custom-query"
,
help
=
"Custom search query."
)
ap
.
add_argument
(
"-pt"
,
"--popular-tweets"
,
help
=
"Scrape popular tweets instead of recent ones."
,
action
=
"store_true"
)
ap
.
add_argument
(
"-sc"
,
"--skip-certs"
,
help
=
"Skip certs verification, useful for SSC."
,
action
=
"store_false"
)
ap
.
add_argument
(
"-ho"
,
"--hide-output"
,
help
=
"Hide output, no tweets will be displayed."
,
action
=
"store_true"
)
args
=
ap
.
parse_args
()
return
args
...
...
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