-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d3e916
commit a0dfe0d
Showing
3 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
### version 0.7.1 | ||
``` | ||
added progress bars to word / ngrams processing & file writing operations | ||
added RAM usage monitoring | ||
optimized order of operations for faster processing with less RAM | ||
TO-DO: refactor code | ||
``` | ||
### version 0.7.0 | ||
``` | ||
added feature to allow crawling specific file extensions (html, htm, txt) | ||
added check to keep crawler from crawling offsite URLs | ||
added flag "-delay" to avoid rate limiting (-delay 100 == 100ms delay between URL requests) | ||
added write buffer for better performance on large files | ||
increased crawl depth from 5 to 100 (not recommended, but enabled for edge cases) | ||
fixed out of bounds slice bug when crawling URLs with NIL characters | ||
fixed bug when attempting to crawl deeper than available URLs to crawl | ||
fixed crawl depth calculation | ||
optimized code which runs 2.8x faster vs v0.6.x during bench testing | ||
``` | ||
### version 0.6.2 | ||
``` | ||
fixed scraping logic & ngram creations bugs | ||
switched from gocolly to goquery for web scraping | ||
remove dups from word / ngrams output | ||
``` | ||
### version 0.5.10 | ||
``` | ||
initial github release | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module spider.go | ||
|
||
go 1.21.5 | ||
|
||
require github.com/PuerkitoBio/goquery v1.8.1 | ||
|
||
require ( | ||
github.com/andybalholm/cascadia v1.3.1 // indirect | ||
golang.org/x/net v0.7.0 // indirect | ||
) |