How to copy all links displayed on a specific site?

Hi Experts,

I would like to copy all links displayed on a specific page, including sub-links.
For example the following
https://howto.caspio.com/tech-tips-and-articles/
How can I accomplish that?
LVL 6
bfuchsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Travis MartinezStorage EngineerCommented:
Export/Print the page to PDF.  The links should be embedded in the PDF doc.
0
bfuchsAuthor Commented:
Hi,

I need it to be in a notepad file, with each link on a separate line.

Thanks,
Ben
0
abbas abdullaCommented:
Hi,
I suggest you simple solution using google sheets, open new google sheet and paste this function =IMPORTXML("https://howto.caspio.com/tech-tips-and-articles/","//a/@href")

It will automatically return all the links in the webpage.
2

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

bfuchsAuthor Commented:
Hi,

Sorry for asking this but I never used google sheets before.
Would you be able to guide me?

Thanks,
Ben
0
Travis MartinezStorage EngineerCommented:
I just tried abbas abdulla's method and very cool.

Just sign into Google, if sheets isn't listed as an app go to "Docs".  Once at Docs drop down the menu and select "Sheets".

I was going to suggest Cygwin and using "wget" but the Sheets method is much cleaner.
0
bfuchsAuthor Commented:
Hi Experts,

This seems like working!
Just wondering whats the definition of "//a/@href"?

Thanks,
Ben
0
bfuchsAuthor Commented:
Thank you experts!
0
abbas abdullaCommented:
"//a/@href" is xpath syntax in google sheet and in HTML it means hyperlink tag. With importxml function you are just telling Google sheet import everything has this tag from the website.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.