Skip to content

Fix url depth check out of bounds panic#82

Closed
Tiggilyboo wants to merge 1 commit into
DonTizi:mainfrom
Tiggilyboo:fix-crawler-out-of-bounds
Closed

Fix url depth check out of bounds panic#82
Tiggilyboo wants to merge 1 commit into
DonTizi:mainfrom
Tiggilyboo:fix-crawler-out-of-bounds

Conversation

@Tiggilyboo

Copy link
Copy Markdown

Fixes #81

Tested with the same website as described in the issue with depth of 2.
Now just compares number of baseurl '/'s against the current '/' count of the URL to the document is greater than the max depth.

@Tiggilyboo

Copy link
Copy Markdown
Author

Looks like this was already fixed in #73

@Tiggilyboo Tiggilyboo closed this Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crawling any website causes go panic: slice bounds out of range [34:33]

1 participant