how do you scrape links in a navigation menu of a website?

jr888168

Regular Member
Joined
Apr 22, 2022
Messages
431
Reaction score
121
how do you scrape links in a navigation menu of a website? It's just hovering and dropdown will appear.

The manual is hover dropdown appear, copy pasting per urls in that navigation menu. There must be a better faster smarter of doing it.

Thoughts?
 
a link in a link, no matter where it's located
the code will be similar to <a href="">

So, in your case, without getting into too much tech, just have a regex and get all the URLs, something like <a href="(.*)">
 
Back
Top