Skip to content

Commit

Permalink
Add search for user #11
Browse files Browse the repository at this point in the history
  • Loading branch information
Scobiform committed Apr 20, 2024
1 parent 6f80a53 commit 824a656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ async def search():
results = mastodon.account_search(query, limit=420)

# Filter results for same instance as user
results = [result for result in results if re.search(r"//([^/@]+)", result['url']).group(1) == instance]
#results = [result for result in results if re.search(r"//([^/@]+)", result['url']).group(1) == instance]
# Filter results for indexable accounts
#results = [result for result in results if result['indexable'] == True]

Expand Down

0 comments on commit 824a656

Please sign in to comment.