Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

crawl site to remove http links

Posted on 2014-01-02
3
Medium Priority
?
166 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
  • 2
3 Comments
 
LVL 54

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 1000 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 1000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

One of the biggest threats facing all high-value targets are APT's.  These threats include sophisticated tactics that "often starts with mapping human organization and collecting intelligence on employees, who are nowadays a weaker link than network…
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

963 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