require 'src/website'
-# Needed to download the page, which is in turn
-# needed because it contains the video URL.
-require 'net/http'
-
class Yikers < Website
return xml_path
end
-
-
- def get_page_data(url)
- uri = URI.parse(url)
-
- response = Net::HTTP.start(uri.host, uri.port) do |http|
- http_path = uri.path
- http_path += ('?' + uri.query) if not uri.query.nil?
- http.get(http_path)
- end
- return response.body
- end
-
end