Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we control the cloning depth? (e.g., clone only the homepage) #80

Open
AbdallahZerfaoui opened this issue Jan 28, 2025 · 0 comments

Comments

@AbdallahZerfaoui
Copy link

Question:
Hi! I’m exploring GoClone for cloning specific pages (e.g., cloning just the homepage of https://apple.com without recursively downloading the entire site). Does GoClone support limiting the crawling depth?

For example:

  • A --depth flag to restrict recursion (e.g., --depth=1 for only the homepage).
  • Excluding internal links beyond the root path.

If this isn’t possible today, could you suggest a workaround or confirm if it’s on the roadmap?

Use Case:
I need to clone a website for testing/styling without pulling gigabytes of unrelated content.

Thanks for building this tool!

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

No branches or pull requests

1 participant