Permalink
Browse files

0.9 Installation message & permit make search with title

  • Loading branch information...
nledez committed Sep 6, 2010
1 parent 2bc7948 commit 4ff8d3be737db1bc69ae0587f7624195d3ecbd9c
Showing with 4 additions and 5 deletions.
  1. +1 −2 Rakefile
  2. +3 −3 lib/cine_passion.rb
View
@@ -15,8 +15,7 @@ Hoe.spec 'cine-passion' do
Thank you for installing cine-passion-#{CinePassion::VERSION}
- Please be copy lib/lib/cine_passion_config.rb.sample to lib/cine_passion_config.rb
- And replace APIKEY with your own.
+ Please request a APIKEY to make real requests.
You can request one here :
http://passion-xbmc.org/demande-clef-api-api-key-request/
View
@@ -20,7 +20,7 @@
class CinePassion
attr_reader :xml_data, :movies_info, :result_nb, :status, :quota, :apikey, :siteurl, :proxyinfo, :lang
- VERSION = '0.8.0'
+ VERSION = '0.9.0'
# This class does not require parameters
# First action is reset object
@@ -101,13 +101,13 @@ def GenerateURLMovieGetInfo(search, query="Title", format="XML")
# Execute a MovieSearch on scraper
def MovieSearch(search)
- DataLoadFromSite(GenerateURLMovieSearch(search))
+ DataLoadFromSite(GenerateURLMovieSearch(search, query="Title", format="XML"))
@xml_data
end
# Execute a MovieGetInfo on scraper
def MovieGetInfo(search)
- DataLoadFromSite(GenerateURLMovieSearch(search))
+ DataLoadFromSite(GenerateURLMovieSearch(search, query="Title", format="XML"))
@xml_data
end

0 comments on commit 4ff8d3b

Please sign in to comment.