HTTrack Website Copier
Free software offline browser - FORUM
Subject: Naming files: save "x.php?i=10" as "x10.html"
Author: Jaap
Date: 10/21/2019 09:26
 
Hi all,

I got a list of URLS in a .txt that looks somewhat like this:

<http://example.com/search?id=1>
<http://example.com/search?id=2>
<http://example.com/search?id=3>
etc.
<http://example.com/search?id=100>

I managed to save the target html files (without any pics or references). But
I have a problem with the file names.

It comes out as

searchXXXX.html
searchXXXX.html
searchXXXX.html
etc.
searchXXXX.html

with XXXX standing for a MD5 hash of the url. These hashes are effectively
random, and useless for my purpose. I need them to be named:

search1.html
search2.html
search3.html
etc.
search100.html

This, or something similar; anything that is ordered in a way that I can later
convert.

I messed with the Options > Build tab, where one can make custom file names,
but so far with no luck.

 
Reply


All articles

Subject Author Date
Naming files: save "x.php?i=10" as "x10.html"

10/21/2019 09:26
Re: Naming files: save "x.php?i=10" as "x10.html"

10/21/2019 09:51




8

Created with FORUM 2.0.11