Skip to content

feat: add recursive download and sequential fallback#72

Open
ShashwatHiregoudar wants to merge 1 commit into
Code-Hex:masterfrom
ShashwatHiregoudar:master
Open

feat: add recursive download and sequential fallback#72
ShashwatHiregoudar wants to merge 1 commit into
Code-Hex:masterfrom
ShashwatHiregoudar:master

Conversation

@ShashwatHiregoudar

Copy link
Copy Markdown

I really loved this tool, and wanted to extend this with recursive downloads.
Ex: give a ftp folder, and all the files inside that will be downloaded.
similar to that of a "wget -r"

- Implemented recursive crawling logic in pget.go and crawler.go.
- Added --recursive and --level flags to Options.
- Added fallback sequential download for non-resumable or unknown-size files.
- Improved path resolution to mirror directory structures and handle conflicts.
- Fixed nil pointer panic in resume logic.
- Updated README and added unit tests for the crawler.
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.

1 participant