Sha256: 922fa5e13b329da10770a2e33f7ccb74bc9844c9239dd4b17d62053f57a7ddee
Contents?: true
Size: 385 Bytes
Versions: 4
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true module BrokenLinkFinder # Extract all the Document's <body> links e.g. <a>, <img>, <script> etc. DEFAULT_LINK_XPATH = '/html/body//*/@href | /html/body//*/@src' @link_xpath = DEFAULT_LINK_XPATH class << self # The xpath used to extract links from a crawled page. # Can be overridden as required. attr_accessor :link_xpath end end
Version data entries
4 entries across 4 versions & 1 rubygems