Method: Html2rss::AutoSource::Scraper::Schema::ListItem#url

Defined in:
lib/html2rss/auto_source/scraper/schema/list_item.rb

#urlAddressable::URI?

Returns:

  • (Addressable::URI, nil)

16
17
18
19
20
# File 'lib/html2rss/auto_source/scraper/schema/list_item.rb', line 16

def url
  url = schema_object.dig(:item, :url) || super

  Utils.build_absolute_url_from_relative(url, @url) if url
end