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
a6b3b674
Commit
a6b3b674
authored
Jan 31, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dont do anything when touch bottom
parent
e3ec854d
Pipeline
#9131
passed with stage
in 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
backend_requests.py
backend_requests.py
+7
-7
No files found.
backend_requests.py
View file @
a6b3b674
...
...
@@ -126,11 +126,11 @@ def searchban(screen_name):
# returnjson["profile"]["has_tweets"] = True
returnjson
[
"tests"
]
=
{
"search"
:
True
,
## Search ban
"typeahead"
:
True
,
## suggest ban
"ghost"
:
{
"ban"
:
None
},
"more_replies"
:
{
"ban"
:
False
,
"tweet"
:
"-1"
,
"in_reply_to"
:
"-1"
}
}
"search"
:
True
,
## Search ban
"typeahead"
:
True
,
## suggest ban
"ghost"
:
{
"ban"
:
None
},
"more_replies"
:
{
"ban"
:
False
,
"tweet"
:
"-1"
,
"in_reply_to"
:
"-1"
}
}
# searchurl = "https://api.twitter.com/1.1/users/search.json"
# params = {"q": "from:@{}".format(screen_name), "count": 1}
...
...
@@ -232,8 +232,8 @@ def searchban(screen_name):
if
ent
[
"entryId"
]
.
startswith
(
"cursor-bottom"
):
print
(
"{}'s test touched bottom."
.
format
(
screen_name
))
returnjson
[
"tests"
][
"ghost"
]
=
{}
returnjson
[
"tests"
][
"more_replies"
]
=
{}
#
returnjson["tests"]["ghost"] = {}
#
returnjson["tests"]["more_replies"] = {}
break
if
ent
[
"entryId"
]
.
startswith
(
"cursor-showmorethreadsprompt"
):
...
...
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