0

How to extract the url-links from pop-up which appears on top of webpage.

I tried using wget,curl and lynx but we will get contents of original page no the pop-up.

looking for efficient solution to extract the links from webpage and dig into it to search particular pattern using Shell Script

packet007
  • 45
  • 1
  • 1
  • 4

1 Answers1

0

There aren't many suitable tools, and those you mentioned will not work. The popup is probably JavaScript (though there are other possibilities). A quick web search for "scrape links from javascript popup" will show several examples, with no easy solutions.

Here are a few:

People with unsolved problems:

People discussing solutions (with caveats):

Community
  • 1
  • 1
Thomas Dickey
  • 51,086
  • 7
  • 70
  • 105