Add tls-client fetch pipeline.

Add Chrome 152 fingerprint and navigation headers, Accept-Language by TLD,
challenge/block classification, and a cookie jar that can be saved and
exported per host.

Bumps x/net, x/text, x/crypto and circl for govulncheck findings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
OverlordandClaude Bot committed 2026-10-14 00:48:23 +02:00
1 parent 94bfc87e9d
commit f90ef18f90
8 files changed
+918 -16

No files matched your search

+18 -15
View File
@@ -22,11 +22,12 @@ func indexPositions(doc []byte) positions {
// A parse error stops the index early. The decoder reports it.
for p.NextExpression() {
e := p.Expression()
if e == nil { continue }
switch e.Kind {
case unstable.Table, unstable.ArrayTable:
keys, first := keyParts(e.Key())
path := strings.Join(keys, ".")
path := strings.Join(keys, ".")
if e.Kind == unstable.ArrayTable {
n := arrays[path]
arrays[path]++
@@ -36,6 +37,8 @@ func indexPositions(doc []byte) positions {
ps.add(&p, path, first)
case unstable.KeyValue:
ps.keyValue(&p, prefix, e)
default:
// Comments and other expressions have no key to record.
}
}
@@ -56,21 +59,21 @@ func (ps positions) keyValue(p *unstable.Parser, prefix string, kv *unstable.Nod
func (ps positions) value(p *unstable.Parser, path string, v *unstable.Node) {
switch v.Kind {
case unstable.Array:
it := v.Children()
for i := 0; it.Next(); i++ {
el := it.Node()
elPath := fmt.Sprintf("%s[%d]", path, i)
ps.add(p, elPath, el)
ps.value(p, elPath, el)
}
case unstable.InlineTable:
it := v.Children()
for it.Next() {
if kv := it.Node(); kv.Kind == unstable.KeyValue {
ps.keyValue(p, path, kv)
case unstable.Array:
it := v.Children()
for i := 0; it.Next(); i++ {
el := it.Node()
elPath := fmt.Sprintf("%s[%d]", path, i)
ps.add(p, elPath, el)
ps.value(p, elPath, el)
}
}
case unstable.InlineTable:
it := v.Children()
for it.Next() {
if kv := it.Node(); kv.Kind == unstable.KeyValue { ps.keyValue(p, path, kv) }
}
default:
// Scalars have no nested keys.
}
}