Nouveau Provider Allocine (V1.0 du 29 mars dispo)

Are you missing your favourite movie site?

Re: Nouveau Provider Allocine (V1.0 du 29 mars dispo)

Postby jpccou » Wed Dec 26, 2012 2:37 pm

Bonjour,

Pour moi aussi Allociné ne marche plus (6500A) mais je ne vois comment faire la maj. !

merci de votre aide
jpccou
 
Posts: 3
Joined: Thu Nov 05, 2009 11:50 pm

Share On:

Re: Nouveau Provider Allocine (V1.0 du 29 mars dispo)

Postby trunky45 » Wed Dec 26, 2012 6:51 pm

merci pour le fichier ;)
ca fonctionne super bien
j'ai viré le fichier xml pour le remplacer par cette dll ;)
trunky45
 
Posts: 24
Joined: Tue Feb 17, 2009 7:58 pm

Re: Nouveau Provider Allocine (V1.0 du 29 mars dispo)

Postby jpccou » Thu Dec 27, 2012 4:12 pm

Bonjour,

lequel ? celui sur le Blog est de nov 2011 et ne marche pas sur mon TVIX

Help !
jpccou
 
Posts: 3
Joined: Thu Nov 05, 2009 11:50 pm

Re: Nouveau Provider Allocine (V1.0 du 29 mars dispo)

Postby trunky45 » Thu Dec 27, 2012 5:48 pm

la dll fonctionne chez moi
trunky45
 
Posts: 24
Joined: Tue Feb 17, 2009 7:58 pm

Re: Nouveau Provider Allocine (V1.0 du 22/01/2013 dispo)

Postby esparic » Tue Jan 22, 2013 3:31 pm

<?xml version="1.0" encoding="utf-8"?>
<MyMPConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- Global information for this movie provider -->
<Name>Allocine.fr 1.0</Name>
<HomePage>www.allocine.fr</HomePage>
<Language>French</Language>
<Author>zedyxer / updated by Whiler and HiFuGa / joma /esparic</Author>
<Version>1.0</Version>
<!-- Indicates support for data retrieval -->
<SupportsCastAndDirector>true</SupportsCastAndDirector>
<SupportsCover>true</SupportsCover>
<SupportsPlot>true</SupportsPlot>
<SupportsRating>true</SupportsRating>
<!-- List of urls to search for movie (you can set only one or add as many as you want) -->
<!-- Enabled = true or false (allow to temporarely disable an url without remove from configuration file) -->
<!-- Url = {0} will be replaced by the title of the movie -->
<!-- RegExp = regular expression used to parse result list, should return 'link' and 'title' within one regexp -->
<!-- MoviePlotLink = will try to get plot of the movie from those urls (in that particular order), and will stop as soon as it gets one -->
<!-- should at least contains one value. -->
<!-- MaxResult = will stop movie retrieval with this url after it finds this number of movie -->
<!-- NextPage = reserved (leave empty for now) -->
<SearchUrls>
<Search>
<Enabled>true</Enabled>
<!--http://www.allocine.fr/recherche/1/?p={1}&q={0}-->
<Url>http://www.allocine.fr/recherche/1/?&amp;q={0}</Url>
<RegExp>style="margin-top:-5px;"&gt;
&lt;a\shref=.(?&lt;Link&gt;/film/fichefilm_gen_cfilm=.*?).&gt;</RegExp>
<MoviePlotLink>
<string>http://www.allocine.fr/{0}</string>
</MoviePlotLink>
<MaxResult>10</MaxResult>
<!--"films suivants</a>"-->
<NextPage>"films suivants&lt;/a&gt;"</NextPage>
</Search>
</SearchUrls>
<!-- MaxResult = global limitation for number of movie results -->
<MaxResult>10</MaxResult>
<!-- Regular expressions to find Title, Original Title, Year and Runtime -->
<RegExp_Title>&lt;head&gt;&lt;title&gt;
(?&lt;1&gt;.*?)- AlloCiné
&lt;/title&gt;</RegExp_Title>
<RegExp_OriginalTitle>og:title" content="(?&lt;1&gt;.*?)" /&gt;</RegExp_OriginalTitle>
<RegExp_Year>itemprop="datePublished" content="(?&lt;1&gt;.{4})</RegExp_Year>
<RegExp_Runtime>&lt;span itemprop="duration" content="PT2H39M"&gt;(?&lt;1&gt;.*?)min</RegExp_Runtime>
<RegExp_Certification>&lt;span\sclass="insist"&gt;Interdit\saux\smoins\sde\s(?&lt;1&gt;.*?)\sans&lt;/span&gt;</RegExp_Certification>
<!-- Regular expressions to look for plot -->
<!-- options allow to remove specials characters before using regexp -->
<ReplaceLFbySpaceBeforeRegExpPlot>true</ReplaceLFbySpaceBeforeRegExpPlot>
<ReplaceCRbySpaceBeforeRegExpPlot>true</ReplaceCRbySpaceBeforeRegExpPlot>
<ReplaceTBbySpaceBeforeRegExpPlot>true</ReplaceTBbySpaceBeforeRegExpPlot>
<RegExp_Plot>&lt;p itemprop="description"&gt;(?&lt;1&gt;.*?)&lt;/p&gt;</RegExp_Plot>
<!-- Regular expressions to look for genres, directors and actors -->
<Genres_MultipleMatches>true</Genres_MultipleMatches>
<RegExp_Genres> href="/film/tous/genre-.*?&gt;(?&lt;1&gt;.*?)&lt;/a&gt;</RegExp_Genres>
<RegExp_Directors>"director" itemscope itemtype="http://schema.org/Person"&gt;&lt;a title="(?&lt;1&gt;.*?)"</RegExp_Directors>
<Actors_MultipleMatches>true</Actors_MultipleMatches>
<RegExp_Actors>"actors" itemscope itemtype="http://schema.org/Person"&gt;&lt;a title="(?&lt;1&gt;.*?)"</RegExp_Actors>
<Countries_MultipleMatches>true</Countries_MultipleMatches>
<RegExp_Countries>&lt;span class="acLnk 1F4446484E1FCB4FC3C21FC04AC6C21E2320202B1F underline"&gt;
(?&lt;1&gt;.*?)&lt;/span&gt;</RegExp_Countries>
<!-- Regular expressions to look for cover -->
<!-- RegExp_CoverLinkFront = regexp used on movie page -->
<!-- RegExp_CoverUrl = used to look for a "galery" url on movie page -->
<!-- RegExp_HowGotoCoverUrl = regexp to construct and follow "galery" link -->
<!-- RegExp_CoverLinkFront2 = regexp to extract cover link from "galery" page -->
<RegExp_CoverLinkFront>poster"&gt;
&lt;img src='(?&lt;1&gt;http://images.allocine.fr/.*?.jpg)</RegExp_CoverLinkFront>
<RegExp_CoverUrl></RegExp_CoverUrl>
<RegExp_HowGotoCoverUrl></RegExp_HowGotoCoverUrl>
<RegExp_CoverLinkFront2></RegExp_CoverLinkFront2>
<!-- Regular expressions to find Rating, it stops after it finds one non empty result (done in that order) -->
<RegExp_Rating>
<string>v:average.*?content=\"(?&lt;1&gt;\d.*?)\"</string>
</RegExp_Rating>
<!-- Encoding used to send Title, and to read HTML pages -->
<TitleEncoding>utf-8</TitleEncoding>
<ContentEncoding>utf-8</ContentEncoding>
<Debug>false</Debug>
</MyMPConfig>
esparic
 
Posts: 34
Joined: Tue Aug 24, 2010 5:33 pm
Location: Auterive

Re: Nouveau Provider Allocine (V1.0 du 29 mars dispo)

Postby trunky45 » Tue Jan 22, 2013 7:00 pm

:?: :?:
trunky45
 
Posts: 24
Joined: Tue Feb 17, 2009 7:58 pm

Re: Nouveau Provider Allocine (V1.0 du 29 mars dispo)

Postby tiduf » Thu Jan 24, 2013 12:30 am

Merci esparic ça fait 2 mois que je bataillais... cette fois-ci grace à toi mon probleme est réglé... Super boulot !!! Encore Merci :D

trunky45, va dans C:\Program Files\TViXiE\Providers, ensuite ouvre le fichier Allocine.fr.xml avec le bloc note et remplace tout le contenu par celui fourni dans le post d' esparic.
tiduf
 
Posts: 4
Joined: Fri Nov 26, 2010 8:23 pm

Re: Nouveau Provider Allocine (V1.0 du 29 mars dispo)

Postby trunky45 » Thu Jan 24, 2013 8:40 pm

OK
Merci ;)
trunky45
 
Posts: 24
Joined: Tue Feb 17, 2009 7:58 pm

Re: Nouveau Provider Allocine (V1.1 01/2013)

Postby esparic » Fri Jan 25, 2013 12:01 pm

Puisque ça intéresse voici une nouvelle version qui gère mieux "Cover" la recherche sur la version précédente était trop restrictive , plus la gestion de Rating.
En même j'ai assez bien compris comment ça fonctionne et je vais essayé de faire un tuto qui permettrait à quiconque de l'adapter au modification des page html.


Désolé j'ai le mot de passe par defaut : azer
Attachments
Allocine.fr.rar
(1.96 KiB) Downloaded 647 times
Last edited by esparic on Mon Jan 28, 2013 12:33 pm, edited 1 time in total.
esparic
 
Posts: 34
Joined: Tue Aug 24, 2010 5:33 pm
Location: Auterive

Re: Nouveau Provider Allocine (V1.0 du 29 mars dispo)

Postby trunky45 » Fri Jan 25, 2013 7:43 pm

Super :mrgreen:
merci
trunky45
 
Posts: 24
Joined: Tue Feb 17, 2009 7:58 pm

PreviousNext

Return to Movie Info Providers

Who is online

Users browsing this forum: No registered users and 1 guest

cron