httrack website mirror broken links

0

If I have a website that uses

<div data-url="/foo/bar/">
    <div data1="foo" data2="bar"></div>
</div>

as links versus the typical

<a href="/foo/bar/">

How can I get httrack to recognize this? I tried using the following options but links are broken on local machine

httrack www.example.com -j -n

JJd

Posted 2013-09-09T04:37:25.887

Reputation: 1

Are you saying your website doesn't use Anchor Links but instead a div class to create the links? Is this then using JavaScript or similar? – Dave – 2013-09-09T08:05:37.917

@DaveRook Correct it is using jQuery to handle the switch. I am just wondering if there is a way to grab the url from data-url and use it. – JJd – 2013-09-09T10:36:06.487

No answers