Complete reference for all Downsrc command-line flags.
Opens the downloaded file after completion.
downsrc -o https://example.com/document.pdfCreates a zip archive of the downloaded files.
downsrc -z https://example.com/websiteSpecifies the download destination path.
downsrc -p ./downloads https://example.com/file.zipEnables advanced scraping mode. Downloads the page and follows same-domain links recursively.
- If
root-numis0: Downloads only the provided link and its assets - If
root-numis a number (e.g.,5): Scans and downloads that many links plus their assets - If
root-numis not provided or invalid: Scans all same-domain links (warns if >10)
Note: Only follows links within the same domain. External domain links are not followed.
# Download page and follow 3 same-domain links
downsrc -as 3 https://example.com/website
# Download only the page itself (no link following)
downsrc -as 0 https://example.com/page
# Download all same-domain links (will prompt if many links found)
downsrc -as https://example.com/siteFilters downloads to only include files with specified extensions. Supports multiple extensions separated by &.
# Download only PNG files
downsrc -fe png https://example.com/gallery
# Download multiple file types
downsrc -fe "png & jpg & webp & svg" https://example.com/images
# Download only documents
downsrc -fe "pdf & docx & txt" https://example.com/documents
# Combine with advanced scraping
downsrc -as 5 -fe "pdf & pptx" https://example.com/resourcesSets a time limit for the download. Cancels if exceeded.
downsrc -tl 30 https://example.com/file.zipSkips files larger than the specified size in MB.
downsrc -ms 100 https://example.com/websitePauses and asks before downloading files larger than the specified size.
downsrc -mss 50 https://example.com/websiteGenerates an HTML report of the download.
downsrc -hr https://example.com/websiteStarts a local web server and displays download progress in the browser.
downsrc -hh https://example.com/websiteDisplays a quality report after download completion.
downsrc -dr https://example.com/websiteIncludes debug.txt file with logs in the zip archive.
downsrc -z -d https://example.com/websiteChecks if the URL is accessible without downloading.
downsrc -c https://example.com/file.zipChecks SSL certificates and security vulnerabilities.
downsrc -v https://example.comAutomatically answers "yes" to all prompts.
downsrc -y https://example.com/websiteAutomatically answers "no" to all prompts.
downsrc -n https://example.com/websiteEnables debug mode. Logs everything to files in Documents/downsrc.
downsrc -debug-onDisables debug mode.
downsrc -debug-offFlags can be combined for powerful workflows:
# Download, zip, generate report, and open
downsrc -z -dr -o https://example.com/website
# Download with time limit and size limit
downsrc -tl 60 -ms 100 https://example.com/website
# Download to specific path and auto-confirm
downsrc -p ./my-downloads -y https://example.com/file.zip
# Advanced scraping with file filtering
downsrc -as 5 -fe "png & jpg" https://example.com/gallery
# Complete workflow: scrape, filter, zip, and report
downsrc -as 3 -fe pdf -z -dr -p ./documents https://example.com/resources