X-Git-Url: http://git.euphorik.ch/?p=pompage.git;a=blobdiff_plain;f=src%2Fmodules%2Fallocine.rb;h=e4173bbbbe1c8b599ced9664dd1c5eab90ce0431;hp=bdbfa1c74482fce07040671725da1673b0e57f07;hb=202a3b4495bc486dc0f5bb6a34da66d5e34832bf;hpb=f2d0f55dc2e3dc77561c26703e382b1917498242 diff --git a/src/modules/allocine.rb b/src/modules/allocine.rb index bdbfa1c..e4173bb 100644 --- a/src/modules/allocine.rb +++ b/src/modules/allocine.rb @@ -16,7 +16,7 @@ class Allocine < Basemodule donneesHtml = nil begin begin - reponse, donneesHtml = connexion.get("/recherche/?motcle=#{CGI::escape(Iconv.iconv("ISO-8859-1", "UTF-8", titre)[0])}") + reponse, donneesHtml = connexion.get("/recherche/?rub=1&motcle=#{CGI::escape(Iconv.iconv("ISO-8859-1", "UTF-8", titre)[0])}") rescue Exception => e p e puts "[!] Connexion lost, retry.."