Skip to main content

“browser” | “crawler” = “brozzler”

Brozzler is a distributed web crawler (爬虫) that uses a real browser (Chrome or Chromium) to fetch pages and embedded URLs and to extract links. It employs yt-dlp (formerly youtube-dl) to enhance media capture capabilities and rethinkdb to manage crawl state.

Brozzler is designed to work in conjunction with warcprox for web archiving.

Requirements

  • Python 3.9 or later

  • RethinkDB deployment

  • Chromium or Google Chrome >= version 64

Note: The browser requires a graphical environment to run. When brozzler is run on a server, this may require deploying some additional infrastructure, typically X11. Xvnc4 and Xvfb are X11 variants that are suitable for use on a server, because they don’t display anything to a physical screen. The vagrant configuration in the brozzler repository has an example setup using Xvnc4. (When last tested, chromium on Xvfb did not support screenshots, so Xvnc4 is preferred at this time.)

Getting Started

The simplest way to get started with Brozzler is to use the brozzle-page command-line utility to pass in a single URL to crawl. You can also add a new job defined with a YAML file (see job-const.rst) and start a local Brozzler worker for a more complex crawl.

Mac instructions:

# install and start rethinkdb
brew install rethinkdb
# no brew? try rethinkdb's installer: https://www.rethinkdb.com/docs/install/osx/
rethinkdb &>>rethinkdb.log &

# optional: create a virtualenv
python -m venv .venv

# install brozzler with rethinkdb extra
pip install brozzler[rethinkdb]

# crawl a single site
brozzle-page https://example.org

# or enqueue a job and start brozzler-worker
brozzler-new-job job1.yml
brozzler-worker

At this point Brozzler will start archiving your site.

Running Brozzler locally in this manner demonstrates the full Brozzler archival crawling workflow, but does not take advantage of Brozzler’s distributed nature.

Installation and Usage

To install brozzler only:

pip install brozzler  # in a virtualenv if desired

Launch one or more workers: [*]

brozzler-worker --warcprox-auto

Submit jobs:

brozzler-new-job myjob.yaml

Submit sites not tied to a job:

brozzler-new-site --time-limit=600 https://example.org/

Job Configuration

Brozzler jobs are defined using YAML files. Options may be specified either at the top-level or on individual seeds. At least one seed URL must be specified, however everything else is optional. For details, see job-conf.rst.

id: myjob
time_limit: 60 # seconds
ignore_robots: false
warcprox_meta: null
metadata: {}
seeds:
  - url: https://one.example.org/
  - url: https://two.example.org/
    time_limit: 30
  - url: https://three.example.org/
    time_limit: 10
    ignore_robots: true
    scope:
      surt: https://(org,example,

Brozzler Dashboard

Brozzler comes with a rudimentary web application for viewing crawl job status. To install the brozzler with dependencies required to run this app, run

pip install brozzler[dashboard]

To start the app, run

brozzler-dashboard

At this point Brozzler Dashboard will be accessible at http://localhost:8000/.

Brozzler-Dashboard.png

See brozzler-dashboard --help for configuration options.

License

Copyright 2015-2025 Internet Archive

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this software except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for brozzler 1.9.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brozzler 1.9.6
File Size Uploaded
brozzler-1.9.6.tar.gz 104.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brozzler 1.9.6
File Interpreter ABI Platform
brozzler-1.9.6-py3-none-any.whl Python 3 none any Details

Total release size: 205.6 kB

Release files / brozzler-1.9.6.tar.gz

Download URL brozzler-1.9.6.tar.gz
Size 104.9 kB
Tags Source
SHA-256 checksum
How to use checksums
53b9fa092b76c8993cf977b2f213c23d3640f540b3a0d343a5685404fbe31dcf
BLAKE2b-256 checksum
How to use checksums
5132c35476bcf0b37f90c2c52256cf372179c4a53e7efd83d6d4d5306b089f79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / brozzler-1.9.6-py3-none-any.whl

Download URL brozzler-1.9.6-py3-none-any.whl
Size 100.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31432318861ef6b6ab34db94c1a0caca91192895ad13d7d8b331d1a7c3850216
BLAKE2b-256 checksum
How to use checksums
d4868efd25475c8dda59021adff43976f07d48e043b1315ed132096f20129fae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

1.9.6 This release

2 release files

1.9.5

2 release files

1.9.3

2 release files

1.9.2

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.1

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.13

2 release files

1.6.11

2 release files

1.6.10

2 release files

1.6.9

2 release files

1.6.8

2 release files

1.6.7

2 release files

1.6.6

2 release files

1.6.5

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

1 release file

1.5.18

1 release file

1.5.7

1 release file

1.5.3

1 release file

1.4

1 release file

1.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page