How can I make HTTrack only download files on the current domain?

httrack options
httrack download
httrack filters
httrack javascript
httrack cookies
httrack gui
httrack dynamic website
how to use httrack

No matter how hard I try, I can't seem to get httrack to leave links going to other domains intact. I've tried using the --stay-on-same-domain argument, and that doesn't seem to do it. I've also tried adding a filter doesn't do it.

There simply must be some option I'm missing here.

Setting the option "Maximum external depth" to 0 did not work , even though it should be expected.

What works:

Go to > Options > Scan Rules and enter in the text field (extra line): -* +*yourdomain.com/*

Here are more settings to learn about: HTTrack: How to download folders only from a certain subfolder level?

Is using httrack legal?, installation, allowing them to be managed through the CMS. Usually when I download sites with Httrack I get all the files; images, CSS, JS etc. Today, the program finished downloading in just 2 seconds and only grabs the index.html file with CSS, IMG code etc inside still linking to external. I've already reset my settings back to default but doesn't help.

Set maximum external depth to 0. In the GUI that this can be found here:

If you are using the command line version, the option is

%e0

[Note: not an expert on HTTRACK, so please correct if necessary]

Manually Migrating Your Static Site To WordPress In 3 Easy Steps , When capturing real audio/video links (.ram), I only get a shortcut! I want to mirror a Web site, but there are some files outside the domain, too. I don't want to download ZIP files bigger than 1MB and MPG files smaller than 100KB. Then, check if the broken image/file name is present in the log (hts-log.txt) - in this case  HTTrack is an easy-to-use website mirror utility. It allows you to download a World Wide website from the Internet to a local directory,building recursively all structures, getting html, images, and other files from the server to your computer.

In "Set Option" > "Limits", try

Maximum mirroring depth = 1 (Keep this 2, when 1 doesn't work)

And

Maximum external depth = 0

Worked for me!!

Read the FAQs - HTTrack Website Copier, But you may want to download files that are not directly in the subfolders, or on the Scan rules based on URL or extension (e.g. accept or refuse all .zip or .gif files) The only reliable way in such cases is to exclude the specific mime type with an imcomplete mirror, or create an unefficient download session (generating​  HTTRACK works like a champ for copying the contents of an entire site. This tool can even grab the pieces needed to make a website with active code content work offline. I am amazed at the stuff it can replicate offline. This program will do all you require of it. We can heartily recomment HTTRACK. It’s a mature application that gets the job

Filters - HTTrack Website Copier, Is there an easy way to limit the httract to > download files from one domain only? > > E.g. I'd like to download mypage.mydomain.com and > all  So, for example, when using httrack in order to download www.google.com it should only mirror single page with httrack. the index file of that domain along

Re: limit downloads to one domain, IF there are errors in downloading, create a file that indicates that the URL was semi-automatic (asks questions) g just get files (saved in the current directory) i  It allows one to download World Wide Web sites from the Internet to a local computer. By default, HTTrack arranges the downloaded site by the original site's relative link-structure. The downloaded (or "mirrored") website can be browsed by opening a page of the site in a browser.

HTTrack Users Guide By Fred Cohen, I have entered the URL of the story I wish to download, something Preferences and mirror options: Under Tabs: Links Get HTML files first! HTTrack is an easy-to-use website mirror utility. It allows you to download a World Wide website from the Internet to a local directory,building recursively all structures, getting html, images, and other files from the server to your computer. Links are rebuiltrelatively so that you can freely browse to the local site (works with any browser).

Comments
  • How frustrating to have to manually specify the domain in the scan rules each time. 🤦‍♂️ It should really detect that.
  • This doesn't always work. I have my settings the same as your screenshot and yet I also get many many pages from Wikipedia. 😒