This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Remove sid= from query string plugin for HTTrack | |
| // by krzys_h, 2018-05-15 | |
| // https://gist.github.com/krzys-h/4717608089c54f733083fd390e5c0f2b | |
| // This makes HTTrack automatically remove the sid= parameter from URLs it visits, as there is no way this can be done with commandline parameters (see https://forum.httrack.com/readmsg/27508/index.html) | |
| // Compilation and usage: | |
| // gcc -shared -o wrapper.so -fPIC -I/usr/include/httrack wrapper.c | |
| // httrack --wrapper ./wrapper.so ... |