Skip to content

Commit

Permalink
Merge pull request #54 from legowerewolf/dependabot/go_modules/github…
Browse files Browse the repository at this point in the history
….com/gammazero/deque-1.0.0
  • Loading branch information
dependabot[bot] authored Dec 16, 2024
2 parents edb4959 + 2208e3a commit ea0e3fd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
module github.com/legowerewolf/AO3fetch

go 1.20
go 1.23

toolchain go1.23.4

require (
github.com/cheggaaa/pb/v3 v3.1.5
github.com/deckarep/golang-set/v2 v2.7.0
github.com/gammazero/deque v0.2.1
github.com/gammazero/deque v1.0.0
golang.org/x/net v0.32.0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ github.com/deckarep/golang-set/v2 v2.7.0 h1:gIloKvD7yH2oip4VLhsv3JyLLFnC0Y2mlusg
github.com/deckarep/golang-set/v2 v2.7.0/go.mod h1:VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4=
github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs=
github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw=
github.com/gammazero/deque v0.2.1 h1:qSdsbG6pgp6nL7A0+K/B7s12mcCY/5l5SIUpMOl+dC0=
github.com/gammazero/deque v0.2.1/go.mod h1:LFroj8x4cMYCukHJDbxFCkT+r9AndaJnFMuZDV34tuU=
github.com/gammazero/deque v1.0.0 h1:LTmimT8H7bXkkCy6gZX7zNLtkbz4NdS2z8LZuor3j34=
github.com/gammazero/deque v1.0.0/go.mod h1:iflpYvtGfM3U8S8j+sZEKIak3SAKYpA5/SQewgfXDKo=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
Expand Down
2 changes: 1 addition & 1 deletion scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func main() {
returnedWorks := make(chan string) // relays detected work URLs back to coordinator
returnedSeries := make(chan string) // ditto for series
finished := make(chan int) // tells coordinator when a crawl is finished
queue := deque.New[string](pages) // stores URLs to be crawled
var queue deque.Deque[string] // stores URLs to be crawled
workSet := mapset.NewSet[string]() // stores URLs of works that have been detected
seriesSet := mapset.NewSet[string]() // ditto for series

Expand Down

0 comments on commit ea0e3fd

Please sign in to comment.