Method: Polipus::HTTP#fetch_page
- Defined in:
- lib/polipus/http.rb
#fetch_page(url, referer = nil, depth = nil) ⇒ Object
Fetch a single Page from the response of an HTTP request to url. Just gets the final destination page.
36 37 38 |
# File 'lib/polipus/http.rb', line 36 def fetch_page(url, referer = nil, depth = nil) fetch_pages(url, referer, depth).last end |