HTTrack Programming page

HTTrack can be used as a third-party program in batch files, or as library. Depending on your needs, you may look:

Programming

You can use tens of options (see httrack --help) to control precisely the mirror, and used embedded commands in httrack.

For advanced functions, you may have to use external C wrappers ; for example when adding advanced crawl features, such as “tuned” filestructure type

Important note: please read the license information of httrack before developing add-ons See also the page for versions prior to 3.41

The library can be used to write graphical GUIs for httrack, or to run mirrors from a program.

Important note: please read the license information of httrack before developing add-ons

Technical references

HTTrack stores original HTML data and references to downloaded files in a cache, located in the hts-cache directory. This page describes the HTTrack cache format.- Change report format

With --changes, HTTrack writes hts-changes.json describing what the crawl left new, changed, unchanged and gone compared to the previous mirror. This page describes that file.