CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/anemone/extractors/anchors.rb
Views: 11778
1
class Anemone::Extractors::Anchors < Anemone::Extractors::Base
2
3
def run
4
doc.search( '//a[@href]' ).map { |a| a['href'] }
5
end
6
7
end
8
9