Article 5G36K Url extractor tool.

Url extractor tool.

by
junomario
from LinuxQuestions.org on (#5G36K)
Hi, Is there any url/link extractor command line tool or python program which can extract urls from text files by defining filter.

Currently I am relying on
Code:$ grep -E -o But for this you have to have good knowledge of regex.

There are many browser extensions easy-to-use like Link-Klipper for Chrome and Link Gopher addon for firefox which can extract urls even with providing small info, such as keyword "imgur".
And the extension automatically extract all links containing "imgur" word links from a source code. But the limitation is i cannot perform it on multiple text files in batch.

Here is a online tool built for same purpose.
https://www.text-filter.com/Extract-...List-Leads.htm
I can filter links by providing small info in "extract address containing this string"latest?d=yIl2AUoC8zA latest?i=NED9iXc1rL4:mqDQIoOmmrc:F7zBnMy latest?i=NED9iXc1rL4:mqDQIoOmmrc:V_sGLiP latest?d=qj6IDK7rITs latest?i=NED9iXc1rL4:mqDQIoOmmrc:gIN9vFwNED9iXc1rL4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments