BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Scripts
 Allocine (actors and category bug correction)

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
smusat Posted - 23 Apr 2006 : 15:04:04
Warning I do *NOT* use XMM 5 at this time, so i DON'T know if it works

This is just a small fix due to the recent changes of Allocine

------------------------------------------------------------------
-            eXtreme Movie Manager                               -
-            MagicScript Technology                              -
-          2002 Alessio "AleTsg" Viti                            -
-          2003 Emmanuel "Manette" Jacobs                        -
-          2003 Updated by MacGyver                              -
-          2004 Rewritten by CSU                                 -
-          01/2005 Update by CSU                                 -
-          04/2005 Update by SMUSAT                              -
-          04/2006 Update by SMUSAT                              -
------------------------------------------------------------------
- Web      : ALLOCINE.FR                                         -
- Author   : CSU (some part form the former script)              -
-            Alessio Viti / Emmanuel Jacobs / MacGyver / SMUSAT  -
- Date     : 23/04/2006                                          -
- Comments : Import All Information available except comments    -
-            Takes only one (big) poster                         -
------------------------------------------------------------------
#MADEBY#=SMUSAT
#DATEBUILD#=23/04/2006
#WEBSITE#=ALLOCINE.FR - (FRENCH)
#NOTE#=Import All Information Available with One Big Picture
#SCRIPTQUALITY#=4
#ICONQUALITY#=4
#REPLACESPACES#=+
#SCRIPTGENERATION#=2
#WEBQUERY#=http://www.allocine.fr/recherche/?motcle=#MOVIE#&rub=1

#RIGHTPAGEFOUND#
- Jamais sur Allocine
    #STARTREADWEB#
    #PUT#=0#00#
    #CONDITIONRIGHTPAGE# #00#<>#00#
#ENDRIGHTPAGEFOUND#

#CREATEMOVIELIST#
    #STARTREADWEB#
    #FINDLINE#=<b>Films#12##ONERROR#=*STOP*
    #PUT#=0#00#
    #PUT#=0#50#
    #FINDLINE#=Pas de résultats#12##ONERROR#=*OK*
    #IF# #00#<>#12#
      #WRITETITLELIST#=Aucun résultat
      #GOTO#=NoResult
    #ENDIF#
    #WRITETITLELIST#=Films déjà sortis
:ReadNewPage
    #STARTREADWEB#
    #FINDLINE#=<h4><a href="/film/fichefilm_gen_cfilm=#12##ONERROR#=*OK*
    #REPEAT#
        #FIND#=">#01##ONERROR#=*OK*
        #COMPUTEVAR#=#01#=+1
        #FIND#=</a>#02##ONERROR#=*OK*
        #TAKEWORD#=#03#,#01#,#02#
        #CHECKVARIABLE#=#03#
        #STARTDELETETAGS#
:GetMovieSiteID
        #SETCURSOR#=1
        #FIND#=_cfilm#01##ONERROR#=*OK*
        #COMPUTEVAR#=#01#=+6
        #FIND#=.html#02##ONERROR#=*OK*
        #TAKEWORD#=#09#,#01#,#02#
:SeekForOriginalTitle
        #READNEXTLINE#
        #FIND#=(#01##ONERROR#=*OK*
        #IF# #01#<>#00#
            #FIND#=)#02##ONERROR#=*OK*
            #TAKEWORD#=#04#,#01#,#02#
            #CHECKVARIABLE#=#04#
            #STARTDELETETAGS#
            #STRING#=#03#=#03# (#04#)
            #READNEXTLINE#
        #ENDIF#
        #STRING#=#06#=http://www.allocine.fr/film/fichefilm_gen_cfilm=#09#.html
        #WRITETITLELIST#=#06#           ---> #03#
        #READNEXTLINE#
        #FIND#=<br />#01##ONERROR#=*OK*
        #IF# #01#==#00#
:SearchForDetailMain
            #FIND#=>#01##ONERROR#=*OK*
            #FIND#=<#02##ONERROR#=*OK*
            #TAKEWORD#=#04#,#01#,#02#
            #CHECKVARIABLE#=#04#
            #STARTDELETETAGS#
            #STARTSUBSTITUTETAGS#
:SearchForDetailSecond
            #READNEXTLINE#
            #FIND#=>#01##ONERROR#=*OK*
            #FIND#=<#02##ONERROR#=*OK*
            #TAKEWORD#=#05#,#01#,#02#
            #CHECKVARIABLE#=#05#
            #STARTDELETETAGS#
            #STARTSUBSTITUTETAGS#
:SearchForDetailThird
            #READNEXTLINE#
            #FIND#=>#01##ONERROR#=*OK*
            #FIND#=<#02##ONERROR#=*OK*
            #TAKEWORD#=#06#,#01#,#02#
            #CHECKVARIABLE#=#06#
            #STARTDELETETAGS#
            #STARTSUBSTITUTETAGS#
            #STRING#=#03#=  #04##05##06#
            #WRITETITLELIST#=#03#
        #ENDIF#
:ExitWhilePage
        #FINDLINE#=<a href="/film/fichefilm_gen_cfilm=#12##ONERROR#=*OK*
    #WHILE# #00#<>#12#
    #STARTREADWEB#
    #FINDLINE#=Films suivants#10##ONERROR#=*OK*
    #IF# #10#<>#00#
        #SETCURSOR#=1
        #FIND#="/recherche#10##ONERROR#=*OK*
        #COMPUTECURSOR#=+1
        #FIND#="#02##ONERROR#=*OK*
        #TAKEWORD#=#03#,#10#,#02#
        #STRING#=#03#=http://www.allocine.fr#03#
    #ENDIF#
    #IF# #50#<>#00#
        #RESTOREWEB#
    #ENDIF#
    #IF# #10#<>#00#
        #PUT#=1#50#
        #OPENNEWWEB#=#03#
        #GOTO#=ReadNewPage
    #ENDIF#
:NoResult    
#ENDCREATEMOVIELIST#

#MOVIETITLE#
    #STARTREADWEB#
    #PUT#=0#00#
    #FINDLINE#=<h1 style="color: #D20000">#12# #ONERROR#=*STOP*
    #READNEXTLINE#
    #FIND#=>#01##ONERROR#=*STOP*
    #FIND#=<#02##ONERROR#=*STOP*
    #TAKEWORD#=#03#,#01#,#02#
    #CHECKVARIABLE#=#03#
    #STARTDELETETAGS#
    #FINDLINE#=Titre original :#12# #ONERROR#=*OK*
    #IF# #12#==#00#
        #GOTO#=TakeTitle
    #ENDIF#
    #FIND#=>#01##ONERROR#=*STOP*
    #FIND#=<#02##ONERROR#=*STOP*
    #TAKEWORD#=#03#,#01#,#02#
    #CHECKVARIABLE#=#03#
    #STARTDELETETAGS#
    #STARTSUBSTITUTETAGS#
:TakeTitle
    #TITLE#=#03# #ONERROR#=*ASK*
#ENDMOVIETITLE#

#DIRECTOR#
    #STARTREADWEB#
    #FINDLINE#=Réalisé par#12##ONERROR#=*STOP*
    #PUT#=0#09#
    #REPEAT#
        #FIND#=Href="#10# #ONERROR#=*OK*
        #IF# #10#==#09#
            #GOTO#=GOLABEL
        #ENDIF#
        #FIND#=>#01# #ONERROR#=*ASK*
        #FIND#=<#02# #ONERROR#=*ASK*
        #TAKEWORD#=#03#,#01#,#02#
        #CHECKVARIABLE#=#03#
        #STARTDELETETAGS#
        #STARTSUBSTITUTETAGS#
        #TAKEDIRECTOR#=#03#
    #WHILE# #09#<>#10#
:GOLABEL
    #PUT#= #03#
    #TAKEDIRECTOR#=#03#
#ENDDIRECTOR#

#ACTORS#
    #STARTREADWEB#
    #FINDLINE#=Voir tout le casting...#12##ONERROR#=*STOP*
    #SETCURSOR#=1
    #FIND#="/film/#01# #ONERROR#=*OK*
    #COMPUTECURSOR#=+1
    #FIND#="#02# #ONERROR#=*OK*
    #TAKEWORD#=#03#,#01#,#02#
    #STRING#=#03#=http://www.allocine.fr#03#
    #OPENNEWWEB#=#03#
    #FINDLINE#=<b>Acteur(s)</b>#12# #ONERROR#=*STOP*
:LookForActors
    #FINDLINE#=<tr style="background-color#10# #ONERROR#=*STOP*
    #REPEAT#
        #READNEXTLINE#
        #FIND#=<h5>#01# #ONERROR#=*OK*
        #COMPUTECURSOR#=+3
        #PUTCURSOR#=#01#
        #FIND#=<#02# #ONERROR#=*OK*
        #TAKEWORD#=#03#=#01#=#02#
        #READNEXTLINE#
        #FIND#=class="link1">#01# #ONERROR#=*OK*
        #COMPUTECURSOR#=+13
        #PUTCURSOR#=#01#
        #FIND#=<#02# #ONERROR#=*OK*
        #TAKEWORD#=#04#=#01#=#02#
        #STRING#=#03#=#04# (#03#) 
        #TAKEACTOR#=#03#
        #FINDLINE#=<tr style="background-color#10# #ONERROR#=*OK*
    #WHILE# #10#<>#00#
#ENDACTORS#

#GENRE#
- BUG : not executed when between WHILE - ENDACTORS !
    #RESTOREWEB#
    #STARTREADWEB#
    #FINDLINE#=Genre :#12##ONERROR#=*STOP*
    #FIND#=class="link1">#01# #ONERROR#=*OK*
    #COMPUTEVAR#=#01#=+13
    #FIND#=<#02# #ONERROR#=*OK*
    #TAKEWORD#=#03#=#01#=#02#
    #TAKEGENRE#=#03#
#ENDGENRE#

#RATING#
    #STARTREADWEB#
    #FINDLINE#=class="link1">Spectateurs#12##ONERROR#=*STOP*
    #FIND#=etoile_#01# #ON ERROR#=*OK*
    #FIND#=_#01# #ON ERROR#=*OK*
    #FIND#=.gif#02# #ON ERROR#=*OK* 
    #TAKEWORD#=#03#,#01#,#02#
    #TAKERATING#=#03#
#ENDRATING#

#PLOT#
    #STARTREADWEB#
    #PUT#=0#00#
    #PUT#=#04#
    #PUT#=</tr>#05#
    #FINDLINE#=>Synopsis<#12##ONERROR#=*STOP*
    #FINDLINE#=<td valign="top" style="padding:10 0 0 0">#12##ONERROR#=*STOP*
    #FIND#=<h4>#01##ONERROR#=*OK*
    #COMPUTEVAR#=#01#=+3
:ReadLine
    #REPEAT#
        #TAKEWORD#=#03#=#01#=#00#
        #STRING#=#04#=#04##03#
        #READNEXTLINE#
        #PUT#=0#01#
        #TAKEWORD#=#02#=#01#=#00#
    #WHILE# #02#<>#05#
    #CHECKVARIABLE#=#04#
    #STARTDELETETAGS#
    #STARTSUBSTITUTETAGS#
    #TAKEPLOT#=#04# #ONERROR#=*ASK*
#ENDPLOT#

#RUNTIME#
    #STARTREADWEB#
    #FINDLINE#=Durée#12##ONERROR#=*STOP*
    #FIND#=:#01# #ONERROR#=*STOP*
    #COMPUTEVAR#=#01#=+1
    #FIND#=.#02# #ONERROR#=*STOP*
    #TAKEWORD#=#03#,#01#,#02#
    #TAKERUNTIME#=#03# #ONERROR#=*ASK*
#ENDRUNTIME#

#COUNTRY#
    #STARTREADWEB#
    #FINDLINE#=<h4>Film#12##ONERROR#=*STOP*
    #FIND#=>#01##ONERROR#=*OK*
    #FIND#=<#02##ONERROR#=*OK*
    #TAKEWORD#=#03#=#01#=#02#
    #TAKECOUNTRY#=#03#
#ENDCOUNTRY#

#YEAR#
    #STARTREADWEB#
    #FINDLINE#=Année de production#12##ONERROR#=*STOP*
    #FIND#=:#01# #ONERROR#=*STOP*
    #COMPUTEVAR#=#01#=+1
    #FIND#=<#02# #ONERROR#=*STOP*
    #TAKEWORD#=#03#,#01#,#02#
    #TAKEYEAR#=#03# #ONERROR#=*ASK*
#ENDYEAR#

#POSTER#
- Reprendre le bloc de CSU (01/2005) pour toutes les images
    #STARTREADWEB#
    #PUT#=http://www.allocine.fr/ext2#50#
    #PUT#=0#00#
    #FINDLINE#=Toute la Galerie Photos#12##ONERROR#=*STOP*
    #SETCURSOR#=1
    #FIND#=/film/galerie#01# #ONERROR#=*STOP*
    #FIND#==#01# #ONERROR#=*STOP*
    #FIND#=.htm#02# #ONERROR#=*STOP*
    #TAKEWORD#=#03#,#01#,#02#
    #STRING#=#03#=http://www.allocine.fr/film/galerie_gen_cfilm=#03#&filtre=&page=1.html
    #OPENNEWWEB#=#03#
    #FINDLINE#=class="galerie"#12##ONERROR#=*STOP*
    #SETCURSOR#=1
    #FIND#="#01# #ONERROR#=*ASK*
    #COMPUTECURSOR#=+1
    #FIND#="#02# #ONERROR#=*ASK*
    #TAKEWORD#=#03#,#01#,#02#
    #TAKEPOSTER#=#03#
    #RESTOREWEB#
#ENDPOSTER#

#DELETETAGS#
    #DELETEWORD#=<sup>
    #DELETEWORD#=</sup>
    #DELETEWORD#=<BR>
    #DELETEWORD#=<BR />
    #DELETEWORD#=<br />
    #DELETEWORD#=</BR>
    #DELETEWORD#=</br>
    #DELETEWORD#=<P>
    #DELETEWORD#=</P>
    #DELETEWORD#=<p>
    #DELETEWORD#=</p>
    #DELETEWORD#=<BLOCKQUOTE>
    #DELETEWORD#=</BLOCKQUOTE>
    #DELETEWORD#=<blockquote>
    #DELETEWORD#=</blockquote>
    #DELETEWORD#=<B>
    #DELETEWORD#=</B>
    #DELETEWORD#=<b>
    #DELETEWORD#=</b>
    #DELETEWORD#=<I>
    #DELETEWORD#=</I>
    #DELETEWORD#=<h4>
    #DELETEWORD#=</h4>
    #DELETEWORD#=<div>
    #DELETEWORD#=</div>
    #DELETEWORD#=<td>
    #DELETEWORD#=</td>
    #DELETEWORD#=<i>
    #DELETEWORD#=</i>
    #DELETEWORD#=<U>
    #DELETEWORD#=</U>
    #DELETEWORD#=<u>
    #DELETEWORD#=</u>
    #DELETEWORD#=<font size=2>
    #DELETEWORD#=<FONT Class="size2">
    #DELETEWORD#=</FONT>
    #DELETEWORD#=</A>
    #DELETEWORD#=</font>
    #DELETEWORD#=</a>
#ENDDELETETAGS#

#SUBSTITUTETAGS#
    #SUBSTITUTEWORD#=<br>=#NEWLINE#
    #SUBSTITUTEWORD#= = 
    #SUBSTITUTEWORD#=&NBSP;= 
    #SUBSTITUTEWORD#=#160;= 
    #SUBSTITUTEWORD#=#161;=¡
    #SUBSTITUTEWORD#=#162;=¢
    #SUBSTITUTEWORD#=#163;=£
    #SUBSTITUTEWORD#=#164;=¤
    #SUBSTITUTEWORD#=#165;=¥
    #SUBSTITUTEWORD#=#166;=¦
    #SUBSTITUTEWORD#=#167;=§
    #SUBSTITUTEWORD#=#168;=¨
    #SUBSTITUTEWORD#=#169;=©
    #SUBSTITUTEWORD#=#170;=ª
    #SUBSTITUTEWORD#=#171;=«
    #SUBSTITUTEWORD#=#172;=¬
    #SUBSTITUTEWORD#=#173;=­
    #SUBSTITUTEWORD#=#174;=®
    #SUBSTITUTEWORD#=#175;=¯
    #SUBSTITUTEWORD#=#176;=°
    #SUBSTITUTEWORD#=#177;=±
    #SUBSTITUTEWORD#=#178;=²
    #SUBSTITUTEWORD#=#179;=³
    #SUBSTITUTEWORD#=#180;=´
    #SUBSTITUTEWORD#=#181;=µ
    #SUBSTITUTEWORD#=#182;=¶
    #SUBSTITUTEWORD#=#183;=·
    #SUBSTITUTEWORD#=#184;=¸
    #SUBSTITUTEWORD#=#185;=¹
    #SUBSTITUTEWORD#=#186;=º
    #SUBSTITUTEWORD#=#187;=»
    #SUBSTITUTEWORD#=#188;=¼
    #SUBSTITUTEWORD#=#189;=½
    #SUBSTITUTEWORD#=#190;=¾
    #SUBSTITUTEWORD#=#191;=¿
    #SUBSTITUTEWORD#=#192;=À
    #SUBSTITUTEWORD#=#193;=Á
    #SUBSTITUTEWORD#=#194;=Â
    #SUBSTITUTEWORD#=#195;=Ã
    #SUBSTITUTEWORD#=#196;=Ä
    #SUBSTITUTEWORD#=#197;=Å
    #SUBSTITUTEWORD#=#198;=Æ
    #SUBSTITUTEWORD#=#199;=Ç
    #SUBSTITUTEWORD#=#200;=È
    #SUBSTITUTEWORD#=#201;=É
    #SUBSTITUTEWORD#=#202;=Ê
    #SUBSTITUTEWORD#=#203;=Ë
    #SUBSTITUTEWORD#=#204;=Ì
    #SUBSTITUTEWORD#=#205;=Í
    #SUBSTITUTEWORD#=#206;=Î
    #SUBSTITUTEWORD#=#207;=Ï
    #SUBSTITUTEWORD#=#208;=Ð
    #SUBSTITUTEWORD#=#209;=Ñ
    #SUBSTITUTEWORD#=#210;=Ò
    #SUBSTITUTEWORD#=#211;=Ó
    #SUBSTITUTEWORD#=#212;=Ô
    #SUBSTITUTEWORD#=#213;=Õ
    #SUBSTITUTEWORD#=#214;=Ö
    #SUBSTITUTEWORD#=#215;=×
    #SUBSTITUTEWORD#=#216;=Ø
    #SUBSTITUTEWORD#=#217;=Ù
    #SUBSTITUTEWORD#=#218;=Ú
    #SUBSTITUTEWORD#=#219;=Û
    #SUBSTITUTEWORD#=#220;=Ü
    #SUBSTITUTEWORD#=#221;=Ý
    #SUBSTITUTEWORD#=#222;=Þ
    #SUBSTITUTEWORD#=#223;=ß
    #SUBSTITUTEWORD#=#224;=à
    #SUBSTITUTEWORD#=#225;=á
    #SUBSTITUTEWORD#=#226;=â
    #SUBSTITUTEWORD#=#227;=ã
    #SUBSTITUTEWORD#=#228;=ä
    #SUBSTITUTEWORD#=#229;=å
    #SUBSTITUTEWORD#=#230;=æ
    #SUBSTITUTEWORD#=#231;=ç
    #SUBSTITUTEWORD#=#232;=è
    #SUBSTITUTEWORD#=#233;=é
    #SUBSTITUTEWORD#=#234;=ê
    #SUBSTITUTEWORD#=#235;=ë
    #SUBSTITUTEWORD#=#236;=ì
    #SUBSTITUTEWORD#=#237;=í
    #SUBSTITUTEWORD#=#238;=î
    #SUBSTITUTEWORD#=#239;=ï
    #SUBSTITUTEWORD#=#240;=ð
    #SUBSTITUTEWORD#=#241;=ñ
    #SUBSTITUTEWORD#=#242;=ò
    #SUBSTITUTEWORD#=#243;=ó
    #SUBSTITUTEWORD#=#244;=ô
    #SUBSTITUTEWORD#=#245;=õ
    #SUBSTITUTEWORD#=#246;=ö
    #SUBSTITUTEWORD#=#247;=÷
    #SUBSTITUTEWORD#=#248;=ø
    #SUBSTITUTEWORD#=#249;=ù
    #SUBSTITUTEWORD#=#250;=ú
    #SUBSTITUTEWORD#=#251;=û
    #SUBSTITUTEWORD#=#252;=ü
    #SUBSTITUTEWORD#=#253;=ý
    #SUBSTITUTEWORD#=#254;=þ
    #SUBSTITUTEWORD#=#255;=ÿ
#ENDSUBSTITUTETAGS#


BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.17 sec. Powered By: Snitz Forums 2000 Version 3.4.07