fix up dev excuses
This commit is contained in:
4
app.rb
4
app.rb
@@ -46,6 +46,6 @@ def get_excuse
|
|||||||
if rando == 1
|
if rando == 1
|
||||||
url = "http://www.devexcuses.com/"
|
url = "http://www.devexcuses.com/"
|
||||||
end
|
end
|
||||||
page = Nokogiri::HTML(open("http://programmingexcuses.com/"))
|
page = Nokogiri::HTML(open(url))
|
||||||
page.css("a").text
|
page.css("a")[0].text
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user