lib/bbiff/bbs_reader.rb in bbiff-0.3.4 vs lib/bbiff/bbs_reader.rb in bbiff-0.3.5

- old
+ new

@@ -206,11 +206,11 @@ end end module Shitaraba - SHITARABA_THREAD_URL_PATTERN = %r{\Ahttp://jbbs\.shitaraba\.net/bbs/read\.cgi/(\w+)/(\d+)/(\d+)(:?|\/.*)\z} - SHITARABA_BOARD_TOP_URL_PATTERN = %r{\Ahttp://jbbs\.shitaraba\.net/(\w+)/(\d+)/?\z} + SHITARABA_THREAD_URL_PATTERN = %r{\Ahttps?://jbbs\.shitaraba\.net/bbs/read\.cgi/(\w+)/(\d+)/(\d+)(:?|\/.*)\z} + SHITARABA_BOARD_TOP_URL_PATTERN = %r{\Ahttps?://jbbs\.shitaraba\.net/(\w+)/(\d+)/?\z} # したらば板 class Board < Bbs::BoardBase class << self def from_url(url)