PolletterBot

The program that reads public documents for Polletter, a weekly policy newsletter Owrang Studios Inc. makes.

For website owners and government IT staff.

Who it is

PolletterBot fetches public documents (rules, notices, decisions, bills, agendas and reports) so that Polletter’s newsletters can link each fact to the official document it came from. It names itself in every request with this user agent:

PolletterBot/1.0 (+https://polletter.owrang.io/bot)

What it reads

  • The public pages, feeds and APIs of the federal government and of California’s state government; LegiScan’s API for legislative records once that is switched on. More states and local governments come later; it doesn’t read county or city websites yet.
  • For a firm that uses Polletter, the public website of each organization the firm represents (a handful of its pages, such as its home, about and news pages) and the public records that name it, such as its lobbying filings, to learn what it works on. It reads only what a site publishes to everyone, under the same rules as any other site.
  • Public records only. Some public records name people, for example who submitted a public comment. We keep only what the record itself publishes, and never the text of a comment.
  • It never signs in, creates accounts, solves challenges or gets around paywalls.
  • Every request it sends is a GET, and it fills in no forms.

CredEngine

Owrang Studios Inc. also makes CredEngine, a tool inside Polletter that helps nonprofits and civic organizations take part in public conversations about policy. It is not an automatic poster.

  • For an organization that uses it, CredEngine reads the public news and event feeds and public pages the organization follows. It uses this same program, under the same rules: robots.txt, the user agent above, and nothing behind a sign-in.
  • On social platforms (Bluesky, Facebook, Instagram, Threads, X, LinkedIn and Reddit), it uses only each platform’s official API, and never scrapes them.
  • Each person connects their own account. CredEngine posts only what that person, or their organization, approved, from that account, within daily limits. It reads the replies to those posts so they can answer.
  • It never creates accounts, votes, follows anyone or sends direct messages on a platform. It doesn’t sell anyone’s data or use it to train AI.
  • To ask about a post or an account, write to the contact address below.

robots.txt

PolletterBot follows robots.txt. It answers to the token PolletterBot, and where no group names it, it follows the * group. To stop it reading your whole site:

User-agent: PolletterBot
Disallow: /

To keep it out of one folder:

User-agent: PolletterBot
Disallow: /internal/

Before it asks for a page, it reads your robots.txt again if its copy is more than an hour old. While your robots.txt can’t be read because your server is failing, it asks for no other page; if you have no robots.txt, it reads your site as open, as the robots.txt standard says.

How fast it reads

  • About one request a second to your site, and one reader at a time: our sources on the same site take turns.
  • When your robots.txt sets a Crawl-delay, it waits at least that long between pages, up to 60 seconds. When the next page would mean a longer wait, it ends the visit rather than wait, and comes back on a later visit.
  • It keeps that pace within each visit: a new visit may begin sooner after the last one than your Crawl-delay asks.
  • When your server answers that it’s busy or failing, it tries up to four times in all, waiting a few seconds between tries, or as long as Retry-After asks when that is 5 minutes or less. When Retry-After asks for longer, it stops and comes back on a later visit.
  • When it reads a page again, it sends back the ETag and Last-Modified your server gave it (as If-None-Match and If-Modified-Since), so an unchanged page usually costs your server a short 304 answer.

Email bulletins

We read some offices’ public email bulletins. A person at Polletter signs up an address at in.polletter.owrang.io for each, including the bulletins of sites that block PolletterBot. PolletterBot itself fills in no form: a sign-up that asks for an account or a challenge is completed by a person, by hand.

Blocking PolletterBot won’t unsubscribe that address; to stop the bulletins, use the unsubscribe link in the bulletin’s own footer.

Contact

If PolletterBot is causing trouble, or you’d like it to read your site differently, write to polletter@owrang.io. Include your site’s address and, if you can, the time of the requests. A change to your robots.txt needs no email: it reaches PolletterBot within about an hour.