Class: Dblp::CiteseerGrabber

Inherits:
Grabber
  • Object
show all
Defined in:
lib/dblp/grabber.rb

Constant Summary collapse

CITESEE_URL =
"http://citeseer.ist.psu.edu/"

Constants inherited from Grabber

Grabber::DBLP_URL

Instance Method Summary collapse

Methods inherited from Grabber

#extract_pre, #initialize, #read_html

Constructor Details

This class inherits a constructor from Dblp::Grabber

Instance Method Details

#grab(key) ⇒ Object



99
100
101
102
103
104
105
106
# File 'lib/dblp/grabber.rb', line 99

def grab(key)
  begin
    content = read_html(CITESEE_URL + key + ".html")
    extract_pre(content)
  rescue
    []
  end
end