Skip to content

Commit

Permalink
feat: support sobooks.
Browse files Browse the repository at this point in the history
  • Loading branch information
syhily committed Jan 5, 2025
1 parent 76bbd8a commit 2ad5b05
Show file tree
Hide file tree
Showing 6 changed files with 117 additions and 95 deletions.
2 changes: 1 addition & 1 deletion cmd/flags/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var (

// SoBooks configurations.

SoBooksCode = "244152"
SoBooksCode = "881120"
)

func NewClientConfig() (*client.Config, error) {
Expand Down
54 changes: 34 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,54 +1,68 @@
module github.com/bookstairs/bookhunter

go 1.22
go 1.23.3

toolchain go1.23.4

require (
github.com/PuerkitoBio/goquery v1.9.2
github.com/bits-and-blooms/bitset v1.14.2
github.com/PuerkitoBio/goquery v1.10.1
github.com/bits-and-blooms/bitset v1.20.0
github.com/corpix/uarand v0.2.0
github.com/go-resty/resty/v2 v2.14.0
github.com/gotd/contrib v0.20.0
github.com/gotd/td v0.108.0
github.com/jedib0t/go-pretty/v6 v6.5.9
github.com/go-resty/resty/v2 v2.16.2
github.com/gotd/contrib v0.21.0
github.com/gotd/td v0.117.0
github.com/jedib0t/go-pretty/v6 v6.6.5
github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
github.com/schollz/progressbar/v3 v3.14.6
github.com/schollz/progressbar/v3 v3.17.1
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
github.com/spf13/cobra v1.8.1
github.com/stretchr/testify v1.9.0
github.com/stretchr/testify v1.10.0
go.uber.org/ratelimit v0.3.1
golang.org/x/net v0.28.0
golang.org/x/term v0.24.0
golang.org/x/text v0.18.0
golang.org/x/net v0.33.0
golang.org/x/term v0.28.0
golang.org/x/text v0.21.0
)

require (
github.com/andybalholm/cascadia v1.3.2 // indirect
github.com/andybalholm/cascadia v1.3.3 // indirect
github.com/benbjohnson/clock v1.3.5 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/coder/websocket v1.8.12 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dlclark/regexp2 v1.11.4 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-faster/errors v0.7.1 // indirect
github.com/go-faster/jx v1.1.0 // indirect
github.com/go-faster/xor v1.0.0 // indirect
github.com/go-faster/yaml v0.4.6 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gotd/ige v0.2.2 // indirect
github.com/gotd/neo v0.1.5 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/ogen-go/ogen v1.8.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/segmentio/asm v1.2.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
go.opentelemetry.io/otel v1.29.0 // indirect
go.opentelemetry.io/otel/trace v1.29.0 // indirect
go.opentelemetry.io/otel v1.33.0 // indirect
go.opentelemetry.io/otel/metric v1.33.0 // indirect
go.opentelemetry.io/otel/trace v1.33.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/crypto v0.26.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/exp v0.0.0-20250103183323-7d7fa50e5329 // indirect
golang.org/x/mod v0.22.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sys v0.29.0 // indirect
golang.org/x/tools v0.28.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
nhooyr.io/websocket v1.8.17 // indirect
rsc.io/qr v0.2.0 // indirect
)
Loading

0 comments on commit 2ad5b05

Please sign in to comment.