lib/youtube_search.rb in youtube_search-0.1.2 vs lib/youtube_search.rb in youtube_search-0.1.3

- old
+ new

@@ -9,9 +9,10 @@ xml = open("http://gdata.youtube.com/feeds/api/videos?#{query}").read parse(xml) end def self.playlist_videos(playlist_id) + playlist_id = playlist_id.sub(/^PL/, "") xml = open("https://gdata.youtube.com/feeds/api/playlists/#{playlist_id}?v=2").read parse(xml, :type => :playlist) end def self.parse(xml, options={})