Skip to content

Instantly share code, notes, and snippets.

@d3cline
d3cline / spider.py
Last active March 25, 2023 14:11
mastodon account note spider (all connected peers)
import requests
# What you want to search, lower case
SEARCH_TERM = "birdsite"
# Your home instance URL
INSTANCE_URL="https://opalstack.social"
# Number of accounts to search before stop
MAX_OFFSET = 10000
def grab_instance_domains():