Changelog
Every release of Netweir, with its notes as published on GitHub. Built from the releases at deploy time, so it can't drift.
What's Changed
New
- feat(browser): a Firefox page couldn't wait for idle, go back or reload by @jamesconwaydev in #239
- feat(browser): a Firefox page couldn't be clicked, typed into or given files by @jamesconwaydev in #244
- feat(browser): a Firefox page's dialogs went unanswered by @jamesconwaydev in #245
Fixed
- fix(browser): a Firefox that started unable to name its windows was kept by @jamesconwaydev in #249
- fix(browser): Firefox on Windows lost its windows' ids by @jamesconwaydev in #254
- fix(browser): a Firefox helper failed when the page moved on twice by @jamesconwaydev in #255
Dependencies
- chore(deps-dev): bump the python group with 7 updates by @dependabot[bot] in #258
- chore(deps): bump the cargo group with 5 updates by @dependabot[bot] in #257
- chore(deps-dev): bump pytest-asyncio from 1.4.1 to 1.4.1.post1 by @dependabot[bot] in #259
- chore(deps): bump the actions group with 3 updates by @dependabot[bot] in #256
- chore(deps): bump golang.org/x/net from 0.47.0 to 0.55.0 in /bench/others/colly by @dependabot[bot] in #303
- chore(deps): bump github.com/antchfx/xpath from 1.3.5 to 1.3.6 in /bench/others/colly by @dependabot[bot] in #304
- chore(deps): bump the actions group across 1 directory with 3 updates by @dependabot[bot] in #314
- chore(deps): bump the cargo group across 1 directory with 5 updates by @dependabot[bot] in #319
- chore(deps): bump opentelemetry-api from 1.45.1 to 1.45.2 by @dependabot[bot] in #317
- chore(deps-dev): bump the python group across 1 directory with 5 updates by @dependabot[bot] in #322
- chore(deps): bump taiki-e/install-action from 2.90.3 to 2.90.5 in the actions group by @dependabot[bot] in #354
- chore(deps): bump the cargo group with 4 updates by @dependabot[bot] in #355
- chore(deps-dev): bump anthropic from 2.8.0 to 2.9.0 in the python group by @dependabot[bot] in #357
- chore(deps): bump rusqlite from 0.41.1 to 0.43.0 by @dependabot[bot] in #356
Everything else
- chore(deps): the lock held Twisted 26.4.0 with a reset-flood DoS by @jamesconwaydev in #229
- fix(browser): a probe Chrome silent on getVersion was never retried by @jamesconwaydev in #230
- docs(bench): the 10,000-page crawl left Firecrawl out by @jamesconwaydev in #231
- feat(profiles): requests looked a version behind Chrome and Firefox by @jamesconwaydev in #232
- refactor(browser): the connection and lifeline only knew Chrome by @jamesconwaydev in #233
- docs: nothing pointed readers at a site they could practise on by @jamesconwaydev in #234
- fix(crawl): a redirect to a page already fetched fetched it again by @jamesconwaydev in #235
- fix(html): crafted pages could crash the parser or make it crawl by @jamesconwaydev in #238
- feat(install): there was no way to install a Firefox for Netweir by @jamesconwaydev in #236
- feat(browser): Netweir couldn't start or drive Firefox by @jamesconwaydev in #237
- feat(browser): a Firefox page couldn't be routed, blocked or guarded by @jamesconwaydev in #250
- fix(css): selectors CSS rejects parsed, and a comment split a compound by @foothillsdigital in #246
- feat(browser): a Firefox page had no cookies, storage state or headers by @jamesconwaydev in #251
- feat(browser): a Firefox page couldn't be given an environment by @jamesconwaydev in #252
- feat(browser): a Firefox page's downloads were never told of by @jamesconwaydev in #253
- feat(browser): a Firefox page's popups were never taken on by @jamesconwaydev in #260
- fix(cli): a host with a path ending like a file was taken for a file by @foothillsdigital in #266
- ci: a merge to main sent every open pull request back to the queue by @jamesconwaydev in #287
- fix(browser): a service worker being let go stayed online when set off by @jamesconwaydev in #262
- fix(html): rename to or from template kept the wrong contents by @foothillsdigital in #278
- fix(cookies): three add() errors didn't say which cookie was wrong by @foothillsdigital in #267
- fix(browser): a Firefox route never saw the body a request sent by @jamesconwaydev in #263
- feat(css): :valid and :invalid weren't supported by @foothillsdigital in #288
- test(core): the refused-connection test could reach another test's server by @jamesconwaydev in #289
- test(browser): a Firefox routes test checked a fetch before it went out by @jamesconwaydev in #291
- test(crawl): the heartbeat backlog test left 0.17 s to spare by @jamesconwaydev in #292
- ci: each pull request took every macOS runner the plan has by @jamesconwaydev in #293
- fix(browser): a person's profile wasn't refused where no Firefox was by @jamesconwaydev in #261
- fix(select): jmespath's "a result isn't JSON" didn't say which result by @foothillsdigital in #264
- fix(serve): --project . was named '' and refused by @foothillsdigital in #265
- fix(html): a page starting with a byte order mark parsed in quirks mode by @foothillsdigital in #269
- fix(html): html_alone of the document wrote the whole page by @foothillsdigital in #270
- feat(html): nothing kept Document Send and Sync by @foothillsdigital in #290
- test(browser): a Firefox stealth failure left nothing to see by @jamesconwaydev in #279
- fix(html): set_attr lowercased SVG and MathML attribute names by @foothillsdigital in #274
- feat(python): netweir.browser() could only start Chrome by @jamesconwaydev in #268
- feat(css): :lang() wasn't supported by @foothillsdigital in #281
- test(html): a slow spell on a loaded runner failed a linear-time test by @jamesconwaydev in #295
- feat(html): parse_fragment had no budget or size check without a panic by @foothillsdigital in #271
- feat(css): :valid and :invalid ignored pattern by @foothillsdigital in #294
- test(core): a slow click's navigation failed the block-after-steps test by @jamesconwaydev in #297
- fix(html): set_attr added a second xlink:href instead of replacing it by @foothillsdigital in #276
- feat(crawl): a crawl's browser could only be Chrome by @jamesconwaydev in #272
- feat(cli): the command line and MCP could load pages only in Chrome by @jamesconwaydev in #275
- ci: nothing ran the Firefox tests against a Firefox Beta by @jamesconwaydev in #296
- fix(deps): the bundled SQLite had RUSTSEC-2026-0459 by @jamesconwaydev in #298
- feat(css): :dir() wasn't supported by @foothillsdigital in #282
- feat(html): there was no way to cap how deep a parsed tree gets by @foothillsdigital in #280
- fix(html): append and insert_before took a document or fragment node by @foothillsdigital in #277
- feat(css): :target and :local-link never matched, with no URL to go on by @foothillsdigital in #286
- fix(html): a created SVG element's lower_name wasn't lowercase by @foothillsdigital in #273
- docs: nothing said Netweir drives Firefox by @jamesconwaydev in #300
- fix(browser): Firefox pages waited on side by side paused at every turn by @jamesconwaydev in #301
- bench: the comparisons left out most of the tools we compete with by @jamesconwaydev in #302
- fix(bench): Crawlee's benchmark pulled in a vulnerable minimatch by @jamesconwaydev in #305
- perf(browser): wait_for saw an element up to 200 ms after it showed by @jamesconwaydev in #306
- test(browser): a fake Firefox's first run was timed with macOS's check by @jamesconwaydev in #308
- fix(browser): a Firefox double click on a busy machine was two clicks by @jamesconwaydev in #310
- perf(browser): every program started a Chrome just to ask what it is by @jamesconwaydev in #307
- bench: Puppeteer's CPU was measured with three of four pages undrawn by @jamesconwaydev in #309
- perf(browser): every Chrome window kept a 120 MB address-bar renderer by @jamesconwaydev in #312
- perf(browser): a headless Chrome kept its unused start page open by @jamesconwaydev in #313
- fix(core): Rust 1.100's clippy failed lint on a needless bool return by @jamesconwaydev in #318
- docs: the README compared the crawl against four tools, not ten by @jamesconwaydev in #311
- test(html): the conformance runners' counts only reached stderr by @jamesconwaydev in #320
- feat(profiles): requests looked a version behind Chrome and Firefox by @jamesconwaydev in #321
- style(css): select's default-option comment said its first line twice by @jamesconwaydev in #323
- perf(css): :nth-child(an+b) recounted every earlier sibling per element by @jamesconwaydev in #324
- fix(deps): the lock held soupsieve 2.10, open to three DoS advisories by @jamesconwaydev in #326
- perf(html): formatting lists were compared name by name on every push by @jamesconwaydev in #325
- feat(css): :blank and :defined were refused as unknown by @foothillsdigital in #328
- feat(html): pattern= with \p{...} counted as no pattern at all by @jamesconwaydev in #327
- feat(html): output was HTML only, with no pretty or html5lib format by @jamesconwaydev in #330
- fix(html): every parse read the clock, which panics in WebAssembly by @jamesconwaydev in #332
- fix(html): edit cycles through template contents and slow selector matching by @jamesconwaydev in #333
- ci(deny): every PR failed on chrono's unmaintained notice by @foothillsdigital in #337
- docs(selecting): the pattern docs still said \p{...} couldn't compile by @jamesconwaydev in #340
- feat(html): nodes didn't know where in the source they came from by @jamesconwaydev in #329
- feat(css): || and :nth-col() were refused, so columns couldn't be selected by @foothillsdigital in #338
- refactor(xpath): XPath only ran over netweir-dom's own node wrapper by @jamesconwaydev in #341
- test(css): nothing ran the web-platform-tests selector cases by @jamesconwaydev in #339
- feat(html): parse errors were recovered from but never reported by @jamesconwaydev in #331
- feat(css): a selector couldn't use a declared namespace prefix by @foothillsdigital in #336
- feat(css): [xlink|href] couldn't be declared, since Ns has no XLink by @foothillsdigital in #342
- feat(html): a page had to arrive whole before it could be parsed by @jamesconwaydev in #334
- feat(html): fuzzing had no assertions of the parser's own to trip by @jamesconwaydev in #344
- feat(html): a never made a shadow root by @jamesconwaydev in #345
- feat(html): an id for a removed node still read the node by @foothillsdigital in #346
- perf(html): text full of character references parsed at half speed by @jamesconwaydev in #347
- test(browser): timed checks failed on loaded runners, not on bugs by @jamesconwaydev in #348
- feat(bench): no bench fed the parsers a crawl's mess of bytes at scale by @jamesconwaydev in #349
- perf: the final boss had lxml ahead on fragments and peak memory by @jamesconwaydev in #352
- test(browser): a Firefox worker that never answered hung the whole run by @jamesconwaydev in #353
- fix(html): deep templates overflowed the stack at the end of input by @jamesconwaydev in #358
- fix(xpath): a scope outside the index panicked instead of erroring by @jamesconwaydev in #360
- fix(html): deep nesting made end tags and :has() cost quadratic time by @jamesconwaydev in #359
- fix(html): edits took names that wrote markup they didn't mean by @jamesconwaydev in #361
- chore: the crates still said 0.7.1 with Firefox and more merged since by @jamesconwaydev in #364
- fix(browser): a fetch just after going online could still fail by @jamesconwaydev in #365
- fix(xpath): an attribute name test took quadratic time on wide elements by @jamesconwaydev in #366
New Contributors
- @foothillsdigital made their first contribution in #246
Full Changelog: https://github.com/netweir/netweir/compare/v0.7.1...v0.8.0
What's Changed
Everything else
- fix(html): deep templates overflowed the stack at the end of input (0.7.2) by @jamesconwaydev in #362
Full Changelog: https://github.com/netweir/netweir/compare/v0.7.1...v0.7.2
A small one. Netweir 0.7.1 fixes a tracked selector that gave up too easily, and the README now measures what a crawl does on a bad day.
Fix: a redesign that changed tags.
track=remembered a price in a<p>, and when a rebuilt page put it in a<span>inside new wrappers, it found nothing: only tags of the same family were candidates. On 50 rebuilt product pages, 0.7.0 found 0 prices; 0.7.1 finds all 50 and reads none wrong, with a "was" price and a shipping price beside each one as decoys. Text-holding tags (p,span,div,td,dd,li) now count as one family. A candidate may also score a little undertrack_thresholdwhen it's the only element left with the shape the value has had on every page, and two candidates that score about the same find nothing rather than a guess. #226Measured: when things go wrong.
bench/reliability.pyruns Netweir, Scrapy and a self-hosted Firecrawl through a rate-limited site, akill -9and a resume, an infinite-scroll page and a redesign. On a site that allows 5 requests a second, Netweir fetched 200 of 200 pages without sending anything during aRetry-After. The README's When things go wrong, measured has every result, including where Netweir doesn't come first. #227What's Changed
Everything else
- fix(track): a rebuilt page lost a price whose tag had changed by @jamesconwaydev in #226
- docs(bench): nothing measured what a crawl does when things go wrong by @jamesconwaydev in #227
- chore: the crates still said 0.7.0 with a fix merged since by @jamesconwaydev in #228
Full Changelog: https://github.com/netweir/netweir/compare/v0.7.0...v0.7.1
Netweir 0.7 finishes the browser list. You can click a button by what it says, save a page as a PDF, replay a recorded site with no network, and see why a page is slow. And if your spiders log in with
auth=, read the part below on passwords before you upgrade.Find elements by what they say. When the markup is a mess of generated class names, stop fighting it.
page.click("text=Sign in")matches anywhere in an element's text, in either case, and'text="Sign in"'matches the whole text exactly.page.click("role=button[name=Sign in]")finds a button by its role and name. The name comes fromaria-label,aria-labelledby, a<label>,alt, the text,titleorplaceholder, which covers the common cases of the accessible name's rules but not all of them. Both work instepstoo.PDFs.
await page.pdf("report.pdf", format="A4", landscape=True)saves the page laid out for printing and returns the bytes. Margins, scale, page ranges and custom sizes are all there. In a crawl, it'ssteps.pdf().Replay a HAR file.
await page.route_from_har("shop.har")answers the page from the recording, so you can run a scraper against the same pages as often as you like, offline. A request the file doesn't hold fails as if the network were down, so nothing leaks out by accident. Passnot_found="fallback"to send those to the network instead, andurl=to replay only part of a site. A crawl'sharsetting writes a file it can replay.Tracing.
await browser.start_tracing(screenshots=True), load the page, thenawait browser.stop_tracing("trace.json")gives you a trace for Chrome's Performance panel or ui.perfetto.dev. It slows Chrome down and can run to many megabytes, so it's for looking into a problem, not for leaving on.Breaking: checkpoints and shared queues no longer keep a request's login password. They keep the user and the domain. A crawl that resumes or leases a request with
auth=now finds the password in the newsaved_loginssetting, which you can read from wherever you keep secrets. Without it the request goes out without its login, and the crawl warns you once.- A spider using
auth=with a shared queue needssaved_loginseven in a single process, because every request passes through the queue. - Opening an older checkpoint scrubs the passwords already in it. Checkpoints are now format 7.
- If an older Netweir shares a queue with this one, it sees an empty password on requests this one wrote.
Breaking, in a small way:
Node.chunks.netweir.parse(html).chunks(1000)used to raise aTypeError, and with every argument given it returned tuples. It now takes(base_url=None, max_chars=2000, *, overlap=0, main_only=True)and returnsChunkobjects, the same aspage.chunks(). Only code calling the old raw form with all its arguments needs changing.Fixes.
- A first launch that found Chrome stuck on its first page failed with a timeout. It now tries once more with a new Chrome, and a second stall is reported as a launch error.
- A selector for the
<span>inside a disabled button read as enabled. The check now looks at the element's ancestors too.
What's Changed
Dependencies
- chore(deps): bump the cargo group with 2 updates by @dependabot[bot] in #211
- chore(deps-dev): bump the python group with 2 updates by @dependabot[bot] in #212
- chore(deps-dev): bump pyarrow from 25.0.1 to 26.0.0 by @dependabot[bot] in #213
- chore(deps): bump the actions group with 2 updates by @dependabot[bot] in #214
Everything else
- test(sitemap): a busy macOS runner read 123 ms as a sitemap read on by @jamesconwaydev in #204
- ci: a pull request's old runs held the macOS runners after a push by @jamesconwaydev in #202
- test(browser): the pipe test started processes till the runner had none left by @jamesconwaydev in #206
- docs(roadmap): Next listed only what 0.6.0 has shipped by @jamesconwaydev in #208
- test(steps): a busy runner's late keyup read as a key held too long by @jamesconwaydev in #210
- test(browser): a dropped test server still answered open connections by @jamesconwaydev in #216
- fix(py): a parsed document's chunks() wanted every argument by @jamesconwaydev in #209
- test(xml): a busy runner's pause failed the test that the loop runs on by @jamesconwaydev in #205
- fix(crawl): checkpoints and queues kept a request's login password by @jamesconwaydev in #215
- feat(browser): Chrome actions could only find elements by CSS or XPath by @jamesconwaydev in #217
- feat(browser): a Chrome page couldn't be saved as a PDF by @jamesconwaydev in #218
- feat(browser): a page couldn't replay what a HAR file recorded by @jamesconwaydev in #219
- feat(browser): nothing could show why a Chrome page was slow by @jamesconwaydev in #220
- test(browser): a busy Mac took over a second to bring a click to a button by @jamesconwaydev in #221
- docs(browser): the design still ruled out tracing and PDFs, now shipped by @jamesconwaydev in #223
- fix(browser): a Chrome stuck on its first page failed the first launch by @jamesconwaydev in #222
- chore: the crates still said 0.6.0 with a release's worth merged by @jamesconwaydev in #224
Full Changelog: https://github.com/netweir/netweir/compare/v0.6.0...v0.7.0
- A spider using
Netweir 0.6 is about feeding pages to models. A page now comes cut into chunks that fit an embedding, a docs site comes chunked in one command, and an AI agent can read the web through Netweir over MCP. When no built-in type fits a page, Claude can fill your own schema from it, on your own key.
Chunks.
page.chunks(max_chars=2000)cuts a page's Markdown at its headings, and each chunk keeps the headings above it. Code blocks and tables stay whole where they fit. Each chunk's id is a hash of the URL, the headings and the text, so it comes out the same on the next crawl, and an edit in one section leaves the other ids alone.to_langchain()andto_llamaindex()hand them straight over. On a 1 MB article, chunking costs 0.3 ms more than the Markdown itself.A docs site in one command.
netweir crawl docs --url https://example.com/docs/ -o docs.jsonlIt stays under the start URL's path and writes one record per page, with its URL, title and chunks.
netweir.page_url(), new for any Item, is how each record says where it came from.MCP.
pip install "netweir[mcp]", then point Claude Desktop, Claude Code or any MCP client atnetweir mcp. An agent gets five tools:read_page,chunks,extract,selectandlinks. Each fetches as Chrome does, or in Chrome withbrowser=true. The server opens no port, and it fetches onlyhttpandhttps.docs/mcp.mdhas the setup for each client.Your own schema.
netweir.llm.extract(page, schema)takes a dict of field descriptions, a pydantic model or a JSON schema, and returns the page's data in that shape. It uses yourANTHROPIC_API_KEYor any Anthropic client you pass, Bedrock and Vertex included. Netweir has no key or service of its own, and nothing calls a model unless you callllm.extract.Five more page types.
netweir.autoreadsBusinessPlace,RealEstate,SocialMediaPost,SerpandPageContent. A rent of£1,250 pcmcomes back as monthly. A shop's own search page doesn't pass for a SERP.Browser. Pages can
go_back(),go_forward()andreload().press("ControlOrMeta+a")takes key combos, which is Meta on a Mac page and Control elsewhere.drag(source, target)handles both HTML5 drag and drop and a plain slider.Fixes.
- A checkpoint saved each request's proxy password, so a resume had it. It now keeps the proxy masked, with a hash to find the login again, and opening an older checkpoint scrubs the passwords already in it.
- On Windows, cancelling a crawl with Ctrl-C could also stop
chrome-headless-shell. It now runs in a hidden console of its own. netweir fetch --browserread some pages in the wrong charset.
Breaking. Python 3.11 is the floor now that 3.10 has reached its end of life. pip keeps anyone on 3.10 at Netweir 0.5.
Builds. Two builds of one commit now produce the same wheels. CONTRIBUTING.md says how to check that a release's wheels match its tag.
What's Changed
Dependencies
- chore(deps): bump the cargo group across 1 directory with 4 updates by @dependabot[bot] in #169
- chore(deps): bump the actions group across 1 directory with 4 updates by @dependabot[bot] in #143
- chore(deps-dev): bump the python group across 1 directory with 4 updates by @dependabot[bot] in #187
Everything else
- test(browser): a starved fork read as a pipe leak on a busy macOS runner by @jamesconwaydev in #181
- fix(checkpoint): a request's proxy password was saved for its resume by @jamesconwaydev in #184
- test(auto): a busy macOS runner read a debug build's 1.58 s as too slow by @jamesconwaydev in #186
- chore: Python 3.10 reached its end of life and was still supported by @jamesconwaydev in #185
- feat(auto): places, property, posts, SERPs and page content had no type by @jamesconwaydev in #172
- test(auto): more readers' time bounds read a busy runner as slow code by @jamesconwaydev in #191
- feat(content): a page's Markdown came whole, too big to embed by @jamesconwaydev in #189
- test(browser): a loaded macOS runner's Chrome missed a 2 s launch thrice by @jamesconwaydev in #190
- ci: nothing measured how much of the code the tests run by @jamesconwaydev in #188
- feat(llm): a page no auto type covered needed selectors written by hand by @jamesconwaydev in #194
- feat(browser): Chrome pages couldn't go back, press key combos or drag by @jamesconwaydev in #195
- ci(release): two builds of one commit gave different wheels by @jamesconwaydev in #192
- test: busy macOS runners failed two tests' timing, not their code by @jamesconwaydev in #196
- feat(templates): chunking a docs site still needed a spider by @jamesconwaydev in #193
- docs: reports and questions went to a personal address, or nowhere by @jamesconwaydev in #197
- ci(fuzz): the HTML parser's fuzzer hadn't built since it moved by @jamesconwaydev in #198
- fix(browser): a cancel's Ctrl-Break could reach headless Chrome too by @jamesconwaydev in #199
- feat(mcp): an AI agent had no way to read the web through Netweir by @jamesconwaydev in #200
- ci: Spotlight's switch-off failed a macOS job on a volume with no index by @jamesconwaydev in #201
- chore: the crates still said 0.5.0 with a release's worth merged by @jamesconwaydev in #203
Full Changelog: https://github.com/netweir/netweir/compare/v0.5.0...v0.6.0
Netweir has its own HTML parser now. Lexbor's gone, and pages parse in about half the time: pulling every price, title and link out of a 1 MB shop page took 5.0 ms in 0.4 and takes 3.0 ms in 0.5. The parser was written from the HTML Standard, and it passes all 7,045 html5lib tokenizer tests and the 3,898 tree-construction tests that don't need a script engine. On 50 real pages it builds the same tree lexbor did, and
html()writes out the same bytes.You don't have to change any code.
page.css(),page.xpath()and the rest work as they did, with a few exceptions where lexbor's selectors disagreed with browsers. Netweir now follows Chrome and Firefox there:#idand.classcompare exactly, except in quirks mode.- Attribute names ignore case only on HTML elements. On SVG,
[viewBox]matches and[viewbox]doesn't, and tag names such asclipPathare case-sensitive too. [href]no longer matches SVG'sxlink:href. Use[*|href]for both.- HTML's case-insensitive attribute values, such as
typeandlang, compare without case. :is()and:where()skip a part they can't parse.:not()and:has()still raise.:scopeworks, and:hoverand other states never match.- A
ns|prefix that was never declared is an error. :lexbor-containsis gone.
node.attrsand XPath still give SVG attributes in lowercase (viewbox), with a namespaced attribute under its local name, as lexbor did and lxml does.A page bigger than 512 MB is refused instead of parsed. The build no longer needs the lexbor submodule, although BoringSSL still needs a C compiler.
0.5.0 also brings
page.records(), crawl templates (netweir crawl ecommerce --url ...), more page types, and the fixes below.Benchmarks (
bench/, same machine, lower is faster):1 MB page, 998 products netweir 3.05 ms 1.00x selectolax 5.48 ms 1.80x beautifulsoup 173.46 ms 56.94x lxml 293.46 ms 96.34x parsel 294.57 ms 96.71x 10 MB page, 9962 products netweir 31.93 ms 1.00x selectolax 66.05 ms 2.07x beautifulsoup 2005.75 ms 62.81x lxml 53704.21 ms 1681.72x parsel 54046.26 ms 1692.43x 1 MB page XPath netweir 7.74 ms 1.00x lxml 825.18 ms 106.62x parsel 826.23 ms 106.76x find_all netweir 7.77 ms 1.00x beautifulsoup 147.48 ms 18.99x 3 MB page XPath netweir 22.73 ms 1.00x lxml 8914.90 ms 392.14x parsel 9108.61 ms 400.67x find_all netweir 23.38 ms 1.00x beautifulsoup 483.91 ms 20.70xWhat's Changed
Everything else
- test(browser): a fake Chrome's first run on macOS could take 12 s by @jamesconwaydev in #130
- fix(xml): a U+FEFF where a read began threw positions off and panicked by @jamesconwaydev in #134
- test(checkpoint): a slow runner settled a whole failure in one batch by @jamesconwaydev in #135
- ci: Spotlight's indexing left Chrome past its timeouts on macOS by @jamesconwaydev in #136
- fix(pypi): the package page sent readers to raw docs, not the site by @jamesconwaydev in #139
- fix(deps): the lockfile held Pillow and filelock with open advisories by @jamesconwaydev in #140
- feat(auto): products, jobs and articles couldn't be read without selectors by @jamesconwaydev in #142
- feat(auto): read pages without structured data from their layout by @jamesconwaydev in #144
- feat(auto): pages built in the browser gave no product or job by @jamesconwaydev in #145
- feat(auto): nothing told a crawl which kind of page it had reached by @jamesconwaydev in #146
- feat(auto): blog indexes, jobs boards and forum threads had no type by @jamesconwaydev in #147
- fix: two macOS CI failures, a timing slack and a viewport race by @jamesconwaydev in #150
- ci: nothing scored the repo's security practices or signed releases by @jamesconwaydev in #151
- feat(records): pages that fit no type gave no data without selectors by @jamesconwaydev in #148
- feat(templates): crawling a whole shop meant writing its selectors by @jamesconwaydev in #149
- fix(deps): zstd, rustls-webpki and tokio carried known advisories by @jamesconwaydev in #152
- docs: nothing said where to get help or who decides what by @jamesconwaydev in #153
- fix(browser): a launch waited 30 seconds whatever its timeout said by @jamesconwaydev in #159
- fix(browser): on macOS a Chrome's pipe leaked to processes started by @jamesconwaydev in #165
- test(auto): the hostile-layout bound failed on a slow macOS runner by @jamesconwaydev in #168
- fix(crawl): Scrapy spiders with start_requests() or cb_kwargs broke by @jamesconwaydev in #161
- perf(dom): Netweir parses with its own HTML parser by @jamesconwaydev in #166
- ci(test): Rust browser tests paid for Chrome's cold start by @jamesconwaydev in #170
- chore: the crates still said 0.4.0 with a release's worth merged by @jamesconwaydev in #171
- fix(queue): a push with no URLs is a usage mistake by @bfs2021 in #167
- test(records): the time bounds failed a busy Windows runner, not slow code by @jamesconwaydev in #173
- chore(deps): dev-only Scrapy and Twisted advisories read as Netweir's by @jamesconwaydev in #176
- test(browser): a slow Chrome start failed tests with short timeouts by @jamesconwaydev in #178
- fix(records): limit row selectors to read rows by @Aaqibhafeezkhan in #163
- docs: nothing public said what Netweir would do next by @jamesconwaydev in #177
- docs(security): nothing set out what Netweir trusts or why that holds by @jamesconwaydev in #180
New Contributors
- @bfs2021 made their first contribution in #167
- @Aaqibhafeezkhan made their first contribution in #163
Full Changelog: https://github.com/netweir/netweir/compare/v0.4.0...v0.5.0
What's Changed
Dependencies
- chore(deps): bump the actions group with 3 updates by @dependabot[bot] in #101
- chore(deps): bump the cargo group with 4 updates by @dependabot[bot] in #102
- chore(deps-dev): bump ruff from 0.16.10 to 0.17.0 in the python group by @dependabot[bot] in #103
- chore(deps): bump certifi from 2026.7.22 to 2026.10.19 by @dependabot[bot] in #128
Everything else
- test(proxies): a dead proxy's port could be handed to another test by @jamesconwaydev in #50
- test(archive): HTTP/1.1 connection reuse was compared as if certain by @jamesconwaydev in #52
- feat(forms): a form with a file input couldn't send a file by @jamesconwaydev in #49
- docs(proxies): nothing said a proxy's hang-up on http:// isn't its fault by @jamesconwaydev in #51
- feat(browser): a page's own API calls couldn't be read or changed by @jamesconwaydev in #53
- feat(browser): Chrome could click and type but not much else by @jamesconwaydev in #54
- docs: the name was written in lowercase where it's a word by @jamesconwaydev in #55
- fix(browser): scrolling to the bottom stopped a turn short on Windows by @jamesconwaydev in #56
- docs: the name was lowercase in docstrings and help where it's a word by @jamesconwaydev in #57
- fix(browser): pages Chrome fetched ahead skipped the robots.txt check by @jamesconwaydev in #60
- fix(browser): the bottom of a page was measured against the window by @jamesconwaydev in #62
- fix(browser): hover could return without the page seeing the mouse by @jamesconwaydev in #66
- fix(browser): Windows left the page 8 px above its bottom by @jamesconwaydev in #67
- test(js): the hostile-input check failed on a slow machine, not a slow parser by @jamesconwaydev in #61
- feat(crawl): the files and images an item linked to were never fetched by @jamesconwaydev in #59
- feat(select): a page couldn't be edited, or asked for more like this by @jamesconwaydev in #63
- test(browser): the scroll limit test's page load had only 3 s by @jamesconwaydev in #72
- fix(browser): a click in a frame could return before the page saw it by @jamesconwaydev in #69
- feat(select): a page's article couldn't be read without its clutter by @jamesconwaydev in #64
- fix(queue): a backlog whose batches each failed once stopped the crawl by @jamesconwaydev in #70
- test(cache): the no-delay check timed a slow runner, not a delay by @jamesconwaydev in #71
- ci(fuzz): the edit and markdown targets were never run by @jamesconwaydev in #74
- test(dom): the wake-up check needed more sleeps than one pass made by @jamesconwaydev in #73
- fix(py): a crawl could crash as Python exited by @jamesconwaydev in #65
- fix(browser): Chrome outlived a program killed before closing it by @jamesconwaydev in #68
- test(serve): Windows called the cut-off connection aborted, not reset by @jamesconwaydev in #75
- perf(select): every query compiled itself again, call after call by @jamesconwaydev in #80
- test(browser): localhost reached a closed port before the test server by @jamesconwaydev in #76
- feat(crawl): Scrapy middlewares and signals beyond the basics didn't run by @jamesconwaydev in #77
- feat(select): a Scrapy project's item loaders had nothing to load into by @jamesconwaydev in #78
- perf(py): threads calling into Netweir queued on one lock by @jamesconwaydev in #79
- test(dom): one stalled timing failed the hostile-input check by @jamesconwaydev in #88
- feat(cli): a Scrapy user's project commands had no counterpart by @jamesconwaydev in #81
- test: a test run started in the background couldn't Ctrl-C its children by @jamesconwaydev in #82
- feat(crawl): a running crawl said nothing until it ended by @jamesconwaydev in #83
- feat(profiles): requests looked a version behind Chrome and Firefox by @jamesconwaydev in #84
- test(fingerprint): a profile that dropped GREASE still passed by @jamesconwaydev in #85
- ci: the macOS test run hit its 15-minute limit with nothing hung by @jamesconwaydev in #93
- test: the stats file check failed when the last rewrite counted all by @jamesconwaydev in #92
- fix(browser): Windows 11 Chrome could fail a navigation on a reused port by @jamesconwaydev in #89
- fix(serve): a job cancelled on Windows lost its final items and stats by @jamesconwaydev in #86
- CI: a macOS job lost minutes to name lookups; Windows launches tangled by @jamesconwaydev in #91
- test(browser): a killed Chrome that never ended held the job for good by @jamesconwaydev in #95
- fix(fetch): reading a large body held it twice while it grew by @jamesconwaydev in #96
- ci: Windows Chrome's random ports now and then failed a page's requests by @jamesconwaydev in #97
- fix(crawl): Ctrl-C or SIGTERM could hang a crawl on Python 3.10 by @jamesconwaydev in #94
- fix(browser): a Windows Chrome died unseen while other processes ran by @jamesconwaydev in #104
- feat(browser): dialogs, popups and downloads by @jamesconwaydev in #99
- test(browser): the dialog pause test timed the machine, not the pause by @jamesconwaydev in #110
- test(browser): two launch tests could each take a turn and wait forever by @jamesconwaydev in #109
- test(browser): the stalled download test's page load had only 2 s by @jamesconwaydev in #113
- feat(fetch): a request couldn't set its timeout, redirects or login by @jamesconwaydev in #98
- test(browser): the Python dialog pause test timed the machine too by @jamesconwaydev in #114
- fix(crawl): a second Ctrl-C could save an item the stats didn't count by @jamesconwaydev in #105
- test(browser): the scroll times test lost a wheel event to a 3 s limit by @jamesconwaydev in #106
- test(browser): the popup stall test counted stalls from before the click by @jamesconwaydev in #107
- fix(browser): close failed while a busy Windows held Chrome's files by @jamesconwaydev in #111
- fix(browser): a killed Windows Chrome was seen only once torn down by @jamesconwaydev in #112
- feat: a session's cookies couldn't be read, saved or shared by @jamesconwaydev in #100
- feat: XML documents and Scrapy's feed spiders were missing by @jamesconwaydev in #108
- test: Google Chrome refused a profile under a home with no AppData by @jamesconwaydev in #116
- feat(browser): a page couldn't be given a screen, locale or device by @jamesconwaydev in #115
- fix(browser): Chrome's own profile left a launch waiting 30 s by @jamesconwaydev in #117
- fix(browser): a phone's swipe could stop at a third of the way down by @jamesconwaydev in #121
- fix(browser): a page in an offline context could read itself online by @jamesconwaydev in #119
- feat(crawl): a rendered request couldn't click or type before parse by @jamesconwaydev in #120
- chore: the crates still said 0.3.1 with a release's worth merged by @jamesconwaydev in #118
- test: the storage state test counted Chrome's own favicon request by @jamesconwaydev in #122
- test(crawl): Ctrl-C wind-up test raced two 0.1 s timers by @jamesconwaydev in #123
- fix(crawl): a slow connection let two requests reach a site too close by @jamesconwaydev in #125
- test(hooks): rules count test saw the test before's late /b request by @jamesconwaydev in #124
- fix(checkpoint): a failed commit let a resume write its items again by @jamesconwaydev in #126
- chore(funding): use GitHub Sponsors only, drop Buy Me a Coffee by @jamesconwaydev in #127
- fix(browser): a phone's scroll to the bottom could outlast its timeout by @jamesconwaydev in #129
Full Changelog: https://github.com/netweir/netweir/compare/v0.3.1...v0.4.0
0.3.0 was tagged but never published: its release run failed its own wheel checks (#47). This is that release, so these notes cover everything since 0.2.0.
What's Changed
Everything else
- feat(cli): there was no quick way to see the page netweir gets by @jamesconwaydev in #31
- ci: a docs change here never reached docs.netweir.com by itself by @jamesconwaydev in #32
- feat(crawl): code for every request or item had nowhere to go but parse by @jamesconwaydev in #33
- feat(export): items left only as JSON Lines, CSV or Parquet on disk by @jamesconwaydev in #34
- Add Buy Me a Coffee funding option by @jamesconwaydev in #36
- feat(crawl): a crawl that finished said nothing of whether it worked by @jamesconwaydev in #35
- feat(crawl): nothing stopped a crawl that kept on growing in memory by @jamesconwaydev in #37
- feat(crawl): a pool of proxies was only a list to fall back on by @jamesconwaydev in #38
- fix: three failures CI hit only some of the time by @jamesconwaydev in #44
- feat(scrapy): a Scrapy project couldn't fetch as a browser does by @jamesconwaydev in #39
- feat(crawl): a daily crawl fetched every page it already had items from by @jamesconwaydev in #42
- feat(crawl): nothing kept what a crawl fetched, as it was fetched by @jamesconwaydev in #41
- feat: prices, dates and script data each took a regex per site by @jamesconwaydev in #40
- feat(crawl): a crawl could only run on one machine by @jamesconwaydev in #45
- feat(serve): a spider could only be run by hand, one shell at a time by @jamesconwaydev in #43
- chore: the crates still said 0.2.0 with a release's worth merged by @jamesconwaydev in #46
- ci: the release's wheel checks were missing what the tests import by @jamesconwaydev in #47
- chore: v0.3.0 was tagged on a release workflow that couldn't publish by @jamesconwaydev in #48
Full Changelog: https://github.com/netweir/netweir/compare/v0.2.0...v0.3.1
What's Changed
Everything else
- POST requests, forms, logins and JSON APIs by @jamesconwaydev in #22
- Response size cap and sitemap crawling by @jamesconwaydev in #23
- allowed_domains and link filters on rules by @jamesconwaydev in #24
- feat: the structured data on a page had to be dug out by hand by @jamesconwaydev in #25
- feat(crawl): a crawl couldn't be told to stop before it ran out of pages by @jamesconwaydev in #26
- feat(crawl): every rerun of a spider fetched the whole site again by @jamesconwaydev in #27
- fix(xpath): nested predicates ran for half an hour on a tiny page by @jamesconwaydev in #28
- docs: the README opened on plain text with no sign of the project's look by @jamesconwaydev in #29
- chore: the crates still said 0.1.0 with a release's worth merged by @jamesconwaydev in #30
Full Changelog: https://github.com/netweir/netweir/compare/v0.1.0...v0.2.0
What's Changed
Dependencies
- build(deps): bump brotli from 8.0.4 to 9.0.0 by @dependabot[bot] in #9
- build(deps): bump the actions group across 1 directory with 3 updates by @dependabot[bot] in #13
Everything else
- Browser driver: Chrome over CDP, from Rust and Python by @jamesconwaydev in #1
- Browser in the crawl: browser requests and escalation on block by @jamesconwaydev in #2
- Chrome's gaps: proxy logins, netweir install chrome, connect to a running browser by @jamesconwaydev in #3
- Browser gaps: service workers, Chrome restarts, robots and TDMRep on Chrome's own navigations, wss by @jamesconwaydev in #4
- Callbacks in worker processes: Settings(workers=N) by @jamesconwaydev in #5
- Capture tool: a lasting certificate Safari can trust by @jamesconwaydev in #6
- Safari 27 profile, and fixes CI turned up by @jamesconwaydev in #7
- Open the project to contributors by @jamesconwaydev in #8
- Pin rust-toolchain so Dependabot can't swap the toolchain by @jamesconwaydev in #12
- Create a GitHub release for each version tag by @jamesconwaydev in #11
- Time out requests to Chrome instead of waiting forever by @jamesconwaydev in #14
- Keep Chrome's pages at full speed, and say what a slow fetch was doing by @jamesconwaydev in #15
- Let goto's own timeout govern navigation by @jamesconwaydev in #16
- Say where the request was when a crawl test stalls by @jamesconwaydev in #17
- CI: test against the Chrome netweir installs, not the runner's by @jamesconwaydev in #19
- README: install instructions for the 0.1.0 release by @jamesconwaydev in #18
- Fix Chrome hanging on macOS virtual machines by @jamesconwaydev in #21
New Contributors
- @jamesconwaydev made their first contribution in #1
- @dependabot[bot] made their first contribution in #9
Full Changelog: https://github.com/netweir/netweir/commits/v0.1.0