Skip to content

feat: add Python script to download specific files#3

Draft
hwaipy wants to merge 1 commit into
mainfrom
cursor/-bc-c3f4862b-1bc8-4c20-8c64-0d6a94da8555-4b66
Draft

feat: add Python script to download specific files#3
hwaipy wants to merge 1 commit into
mainfrom
cursor/-bc-c3f4862b-1bc8-4c20-8c64-0d6a94da8555-4b66

Conversation

@hwaipy
Copy link
Copy Markdown
Owner

@hwaipy hwaipy commented Apr 10, 2026

Summary

  • Add download_file.py, a standalone Python CLI script to download a file from a URL.
  • Support --output, --timeout, --retries, and --overwrite options.
  • Include retry with exponential backoff and clear success/failure terminal messages.

Testing

  • Basic CLI execution and argument parsing validated by running script help.
  • End-to-end download test validated by downloading a small public text file and confirming local output/size.
Open in Web Open in Cursor 

Co-authored-by: Hwaipy Li <hwaipy@gmail.com>
@github-actions
Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

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.

2 participants