When clicking on a link to scrape its URL, the 'Capture Target URL' option in Capture window is disabled (greyed out).
Follow the steps given below to solve this problem. (watch video)
- 1. Click on the link/button whose URL you need to scrape
- 2. Apply Capture More Content option repeatedly till the Follow this link option is enabled
- 3. Select More Options > Capture HTML option
- 4. Select More Options > Apply Regular Expression option
- 5. From the RegEx dropdown, select 'Get link/URL from HTML - href="([^"]*)' and Apply
- 6. Click the main 'Capture HTML' button to select the URL for extraction.
Note: Even if a relative URL (without https:// starting part) is displayed in the preview, full/absolute URL will be scraped during the mining process.