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
f1faebc8
"...svn:/svn.code.sf.net/p/irrlicht/code/trunk@3595" did not exist on "3acdca69c466564c9db2edde0f541a1643ec3419"
Commit
f1faebc8
authored
Nov 01, 2018
by
andytnt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify get.py
parent
7f69299b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
twint/get.py
twint/get.py
+2
-2
No files found.
twint/get.py
View file @
f1faebc8
...
...
@@ -113,10 +113,10 @@ async def Tweet(url, config, conn):
try
:
response
=
await
Request
(
url
)
soup
=
BeautifulSoup
(
response
,
"html.parser"
)
tweet
=
soup
.
find
(
"div"
,
"permalink-inner permalink-tweet-container"
)
location
=
soup
.
find
(
"span"
,
"ProfileHeaderCard-locationText u-dir"
)
.
text
location
=
location
[
15
:]
.
replace
(
"
\n
"
,
" "
)[:
-
10
]
await
Tweets
(
tweet
,
location
,
config
,
conn
)
tweets
=
soup
.
find_all
(
"div"
,
"tweet"
)
await
Tweets
(
tweets
,
location
,
config
,
conn
,
url
)
except
Exception
as
e
:
print
(
str
(
e
)
+
" [x] get.Tweet"
)
...
...
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