BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Scripts
 ALLOCINE SCRIPT
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

daredevil2000
Starting Member

1 Posts

Posted - 09 Jul 2006 :  20:03:15  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I modify the script to get the poster even when there is no photo galery.
Just Copy below next line.
==================
------------------------------------------------------------------
- eXtreme Movie Manager -
- MagicScript Technology -
- 2001-2006 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 -
- 11/2005 Update by Oz
- 04/2006 Update to Third Generation
- 06/2006 Update by Daredevil2000
------------------------------------------------------------------
- Web : ALLOCINE.FR -
- Author : CSU (some part form the former script) -
- Alessio Viti / Emmanuel Jacobs / MacGyver / SMUSAT -
- Date : 26/05/2006 -
- Comments : Import All Information available except comments -
- Takes all pictures -
------------------------------------------------------------------
#MADEBY#=SMUSAT
#DATEBUILD#=26/05/2006
#WEBSITE#=ALLOCINE.FR - (FRENCH)
#NOTE#=Import All Information Available with One Big Picture
#REPLACESPACES#=+
#SCRIPTQUALITY#=4
#ICONQUALITY#=4
#SCRIPTGENERATION#=3
#TVSERIES#=FALSE
#SCRIPTFORACTORS#=FALSE

#WEBQUERY#=http://www.allocine.fr/recherche/?motcle=#MOVIE#&rub=1

//You NEED this for Internal WebBrowser Import!
#SCRIPTWEBSITE#=http://www.allocine.fr/


//New Tags of MagicScript Engine Generation 3
#LANGUAGESORT#=FR
[LANGUAGESORT]=EN=English|IT=Italian|FR=France|DE=Deutsche

#TYPE#=0
[TYPE]=0=Complete|1=Only Covers|2=Only Informations

#OPTIONS#=0
[OPTIONS]=0=No Options|1=With Options


#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_#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:#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#
#ORIGINALTITLE#=#03# #ONERROR#=*ASK*
:TakeTitle
#TITLE#=#03# #ONERROR#=*ASK*
#ENDMOVIETITLE#

#DIRECTOR#
#RESTOREMAIN#
#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*
#FIND#=>#01# #ONERROR#=*OK*
#//COMPUTECURSOR#=+17
#PUTCURSOR#=#01#
#FIND#=<#02# #ONERROR#=*OK*
#TAKEWORD#=#04#=#01#=#02#
#STRING#=#03#=#04#§#03#
#ADDACTOR#=#04#
#TAKEACTOR#=#03#
#FINDLINE#=<tr style="background-color#10# #ONERROR#=*OK*
#WHILE# #10#<>#00#
#ENDACTORS#

#GENRE#
#RESTOREMAIN#
#STARTREADWEB#
#FINDLINE#=Genre :#12##ONERROR#=*STOP*
#FIND#=>#01# #ONERROR#=*OK*
#FIND#=<#02# #ONERROR#=*OK*
#TAKEWORD#=#03#=#01#=#02#
#TAKEGENRE#=#03#
#ENDGENRE#

#RATING#
#RESTOREMAIN#
#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#
#RESTOREMAIN#
#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*
#FIND#=>#01##ONERROR#=*OK*
: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#
#RESTOREMAIN#
#STARTREADWEB#
#FINDLINE#=Durée#12##ONERROR#=*STOP*
#FIND#=:#01# #ONERROR#=*STOP*
#COMPUTEVAR#=#01#+1
#FIND#=h#02# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#COMPUTEVAR#=#03#*60
#TAKERUNTIME#=#03# #ONERROR#=*ASK*
#ENDRUNTIME#

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

#YEAR#
#RESTOREMAIN#
#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#
#RESTOREMAIN#
#STARTREADWEB#

#PUT#=http://www.allocine.fr/ext2#50#
#PUT#=0#00#

#FINDLINE#=<td valign="top" style="padding:0 0 5 0" width="100%" align="center">#12##ONERROR#=*STOP*
#READNEXTLINE#
#FIND#=/#01##ONERROR#=*STOP*
#FIND#=jpg#02##ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#STRING#=#03#=http:/#03#jpg
#TAKEPOSTER#=#03#

#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#

======================================

















  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.14 sec. Powered By: Snitz Forums 2000 Version 3.4.07