Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
shadowban-eu-backend
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
shadowban-eu-backend
Commits
6d5e363e
Commit
6d5e363e
authored
Jul 03, 2023
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
39b2a74b
Pipeline
#22560
passed with stages
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
backend_requests.py
backend_requests.py
+2
-2
No files found.
backend_requests.py
View file @
6d5e363e
...
...
@@ -351,7 +351,7 @@ def searchban(screen_name):
print
(
"User ID of {}: {}"
.
format
(
screen_name
,
user_id
))
get_reply_vars
=
{
"count"
:
20
,
"userId"
:
user_id
,
"count"
:
20
0
,
"userId"
:
user_id
,
"includePromotedContent"
:
False
,
"withSuperFollowsUserFields"
:
False
,
"withBirdwatchPivots"
:
False
,
"withDownvotePerspective"
:
False
,
"withReactionsMetadata"
:
False
,
"withReactionsPerspective"
:
False
,
"withSuperFollowsTweetFields"
:
False
,
"withVoice"
:
False
,
"withV2Timeline"
:
False
,
...
...
@@ -379,7 +379,7 @@ def searchban(screen_name):
if
not
ghostban
:
# all checks done
break
if
ent
[
"entryId"
]
.
startswith
(
"tweet"
)
and
"l
a
gacy"
in
ent
[
"content"
][
"itemContent"
][
"tweet_results"
][
"result"
]:
if
ent
[
"entryId"
]
.
startswith
(
"tweet"
)
and
"l
e
gacy"
in
ent
[
"content"
][
"itemContent"
][
"tweet_results"
][
"result"
]:
tmp
=
ent
[
"content"
][
"itemContent"
][
"tweet_results"
][
"result"
][
"legacy"
]
if
"in_reply_to_status_id_str"
in
tmp
and
tmp
[
"in_reply_to_status_id_str"
]
not
in
checkedTweets
:
reply
=
tmp
...
...
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