Module: NonInteractive
Overview
features exclusive to Movies, Tv-Shows & Episode media type
Instance Method Summary collapse
-
#duration ⇒ Object
returns runtime of the media.
Instance Method Details
#duration ⇒ Object
returns runtime of the media
16 17 18 |
# File 'lib/non_interactive.rb', line 16 def duration document.css("li[data-testid=title-techspec_runtime] div").first&.text end |