Solved

crawl site to remove http links

Posted on 2014-01-02
3
158 Views
Last Modified: 2014-01-23
Hi,
I am looking for a crawler which will extract all url on a page and place them in a file.  Any recommendations?  Thanks.
0
Comment
Question by:NYGiantsFan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 53

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 250 total points
ID: 39751891
I used to use this when I had a PC.  http://www.httrack.com/  I don't know something similar for the MAC though.
0
 
LVL 15

Accepted Solution

by:
Giovanni Heward earned 250 total points
ID: 39752271
You can download curl and run the following command:

curl http://www.example.com 2>nul|findstr /i "<a"

Open in new window


You can redirect the output to a file like so:

curl http://www.example.com 2>nul|findstr /i "<a" >>links.txt

Open in new window


If you want to clean up that output, try:

for /f tokens^=2^ delims^=^" %l in ('curl http://www.example.com 2^>nul^|findstr /i "<a"') do echo %l >>links.txt

Open in new window

0
 
LVL 15

Expert Comment

by:Giovanni Heward
ID: 39752276
If you're looking for a GUI method, try:

http://www.focalmedia.net/urlextract.html
0

Featured Post

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Microsoft Edge - Outlook - the OWA 6 101
Cable modem to laptop? 36 113
Connecting to multiple databases to create a Dashboard 5 97
Convert Silverlight ERP To Angularjs,HTML5 3 109
I've been an avid user and supporter of Malwarebytes Premium Version 2.x for years. It's an excellent product that runs alongside just about any Anti-Virus application without issues. It seems to have an uncanny ability to pick up many things that A…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question