Module: Xclient::Xvideos
- Defined in:
- lib/xclient/xvideos.rb
Class Method Summary collapse
Class Method Details
.parse(url) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/xclient/xvideos.rb', line 3 def self.parse(url) begin @doc = Nokogiri::HTML(open(url)) Client.new( title: title, thumbs: thumbs, tags: , embed: , host: Xclient::XVIDEOS_HOST, url: url ) rescue raise PasserError, "passer error" end end |