Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

result string changed on bt4u

  • Loading branch information...
commit a80cb7309a2c1379ac0f86053fa4293e37e2b6ca 1 parent af14a0a
@mil authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  blacksburg-transit.rb
View
2  blacksburg-transit.rb
@@ -33,7 +33,7 @@ def getNextTime(route, stop)
page = page.forms.first.submit(page.forms.first.buttons[0])
#Parse and Return Next Bus
- return Nokogiri::HTML(page.body).css('ul li')[1].text().split("\/").last[18..-1]
+ return Nokogiri::HTML(page.body).css('ul li')[1].text().split("\/").last[26..-1]
rescue Exception => e
return false
Please sign in to comment.
Something went wrong with that request. Please try again.