Skip to content
Browse files

result string changed on bt4u

  • Loading branch information...
1 parent af14a0a commit a80cb7309a2c1379ac0f86053fa4293e37e2b6ca @mil committed May 5, 2013
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

0 comments on commit a80cb73

Please sign in to comment.
Something went wrong with that request. Please try again.