lib/fandango/theater.rb in fandango-2.0.0 vs lib/fandango/theater.rb in fandango-2.1.0
- old
+ new
@@ -27,10 +27,10 @@
def parse_name(item_node)
item_node.at_css('title').content.strip
end
- # E.g. 'aaicu' in http://www.fandango.com/northpark7_aaicu/theaterpage
+ # E.g. 'aaicu' in https://www.fandango.com/northpark7_aaicu/theaterpage
def parse_id(item_node)
item_node.
at_css('link').
content.
match(%r{fandango\.com/.*_(?<id>.*)/theaterpage})[:id]