TransWikia.com

Search the Text Content of Pages Linked from Current Page

Super User Asked on January 7, 2021

This is the exact tool I am looking for: https://www.makeuseof.com/tag/search-search-content-linked-current-web-page/ but it appears to no longer exist, and I can’t find anything else like it.

In short, I want to be able to search for a specific word that appears in the text content (not the URL) of several (out of hundreds) of links on a page.

Anyone know of anything or know how tricky it would be to build from scratch without programming?

Thanks!
Toby

One Answer

cd "$(mktemp -d)"
wget -r --span-hosts --level=1 <url>
grep -r "<search term>" .

(you might also need -e robots=off if some of the linked sites disallow crawling, although at the same time, it might be a bad idea to attempt anyway)

Answered by Ángel on January 7, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP