Main Menu

Copying only ONE base URL

Started by magnao, December 04, 2018, 10:33:44 PM

Previous topic - Next topic

magnao

I'm trying to add a rule to make Webcopy only scan links on a page that start with a specific URL: for instance, if I'm having it search the url "www.anywebsite.com/listings", and I want it to only scan and download pages that have the URL "www.anywebsite.com/pittsburgh", how do I do this? This would be assuming that "listings" URL provides links to every single "pittsburgh" link on the website.

Any help or advice would be greatly appreciated!

Richard Moss

      Hello,

      Welcome to the forums and thanks for the question. Sorry it has taken so long to get around to answer it.

      You can use the Rules feature to do this


      • From the main window, click Rules
      • Click Add
      • Enter /listings into the Expression field
      • Uncheck Exclude and check Include
      • Click Advanced and then check Stop processing more rules
      • Follow the above steps to add another rule with the expression /pittsburgh
      • Click Add
      • Enter .* into the Expression field
      • Click OK

      The first rule and second rules make sure that any URL containing "listings" or "pittsburgh" is downloaded - and also to stop checking more rules if a match is found. The final rule specifies that everything else will be excluded.

      Hope this helps.

      Regards;
      Richard Moss
Read "Before You Post" before posting (https://forums.cyotek.com/cyotek-webcopy/before-you-post/). Do not send me private messages. Do not expect instant replies.

All responses are hand crafted. No AI involved. Possibly no I either.