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
cd5c92b6
You need to sign in or sign up before continuing.
Commit
cd5c92b6
authored
Jul 28, 2018
by
Francesco Poldi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#186 args fix
parent
e8e1f695
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
twint/run.py
twint/run.py
+1
-1
twint/verbose.py
twint/verbose.py
+5
-5
No files found.
twint/run.py
View file @
cd5c92b6
...
...
@@ -111,7 +111,7 @@ class Twint:
break
if
self
.
config
.
Count
:
verbose
.
Count
(
self
.
count
,
self
.
config
.
Username
)
verbose
.
Count
(
self
.
count
,
self
.
config
)
def
run
(
config
):
get_event_loop
()
.
run_until_complete
(
Twint
(
config
)
.
main
())
...
...
twint/verbose.py
View file @
cd5c92b6
def
Count
(
count
,
username
):
def
Count
(
count
,
config
):
msg
=
"[+] Finished: Successfully collected "
if
config
.
Followers
:
msg
+=
f
"all {count} users who follow @{
u
sername}"
msg
+=
f
"all {count} users who follow @{
config.U
sername}"
elif
config
.
Following
:
msg
+=
f
"all {count} users who @{
u
sername} follows"
msg
+=
f
"all {count} users who @{
config.U
sername} follows"
elif
config
.
Favorites
:
msg
+=
f
"{count} Tweets that @{
u
sername} liked"
msg
+=
f
"{count} Tweets that @{
config.U
sername} liked"
else
:
msg
+=
f
"{count} Tweets"
if
config
.
Username
:
msg
+=
f
" from @{
u
sername}"
msg
+=
f
" from @{
config.U
sername}"
msg
+=
"."
print
(
msg
)
...
...
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