Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
share|improve this question
    
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 Sep 9 '13 at 8:05
    
@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. –  Charles Peabody Sep 9 '13 at 10:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.