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
 SCRIPT Moviecovers.com
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

karlito85
Starting Member

France
9 Posts

Posted - 09 Jan 2007 :  21:48:07  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Voici le script du site MovieCovers.com
Il permet de récupérer les covers et quelques infos
seul chose que je n'ai pas réussis à récupérer le résumé du film car il fonctionne avec une requete HTTP POST et la ???
-------------------------------------------------------------------
-            eXtreme Movie Manager                                -
-            MagicScript Technology                               -
-          2006 Alessio "AleTsg" Viti                             -
-------------------------------------------------------------------
- Web      : Moviecovers.com                                      -
- Author   : Karlito85 DRG                                        -
- Date     : 01/Janvier/2007                                      -
- Comments : Importer toutes les informations disponibles         -
-             excepté les commentaires et resumés                 -
-                                                                 -
-------------------------------------------------------------------

#MADEBY#=karlito85drg
#DATEBUILD#=01/Janvier/2007
#WEBSITE#=MOVIECOVERS.COM
#NOTE#=Importer toutes les informations disponibles avec des images de film
#SCRIPTQUALITY#=2
#ICONQUALITY#=2
#SCRIPTGENERATION#=3
#LANGUAGESORT#=FRENCH
#TVSERIES#=FALSE
#SCRIPTFORACTORS#=FALSE

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

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

#WEBQUERY#=http://www.moviecovers.com/multicrit.html?titre=#MOVIE#&real=&selanneemin=&anneemin=&selanneemax=&anneemax=&selnation=&nation=&selgenre=&genre=&acteur=&distri=&slow=1&tri=Titre&listes=1
#WEBQUERYID#=http://www.moviecovers.com/film/titre_#MOVIEUPDATEID#.html

--INITIALISATION DES VARIABLES--------------------------------------------------------------
#SETVARIABLES#
    // initialiser toutes les variables
// #00# to #09# = variables de comparaison
    #PUT#=0#00#
// #10# to #19# = Variable executant divers Taches
    #PUT#=0#10#
    #PUT#=0#11#
    #PUT#=0#12#
    #PUT#=0#13#
    #PUT#=0#14#
    #PUT#=0#15#
// #20# to #30# = variables pour TakeWord et autres fonctions
    #PUT#=0#20#
    #PUT#=0#21#
    #PUT#=0#22#
    #PUT#=0#23#
//  #49# to #55# = variables temporaires
    #PUT#=0#49#
    #PUT#=0#50#
//  #54# to #60# = variables inutilisé
#ENDSETVARIABLES#

--RIGHT PAGE--------------------------------------------------------------------------------
#RIGHTPAGEFOUND#
//skip this
    #STARTREADWEB#
    #PUT#=1#02#
    #PUT#=0#01#
    #PUT#=0#20#
    #PUT#=1#21#
    #CONDITIONRIGHTPAGE# #01#==#02#
#ENDRIGHTPAGEFOUND#

-- LISTE DES FILMS ------------------------------------------------------------------------
#CREATEMOVIELIST#
    #STARTREADWEB#
    #FINDLINE#=<li><a href="#15# #ONERROR#=*STOP*
    #PUT#=0#50#
    #FINDLINE#=Pas de résultats#15# #ONERROR#=*OK*
    #IF# #15#<>#00#
      #WRITETITLELIST#=Aucun résultat
      #GOTO#=NoResult
    #ENDIF#
    #WRITETITLELIST#= Liste des Films Trouvés :
    #WRITETITLELIST#=--------------------------

    :ReadNewPage
    #STARTREADWEB#
    #FINDLINE#=<li><a href="#15# #ONERROR#=*OK*
    #REPEAT#
        // Prendre le texte ou se trouve le titre
        #PUTCURSOR#=#15#
        #FIND#=</a> #49# #ONERROR#=*OK*
        #LOADCURSOR#=#15#
        // Récupérer la clef du film
        #FIND#=titre_#11# #ONERROR#=*OK*
        #COMPUTEVAR#=#11#+5
        #FIND#=.html#12# #ONERROR#=*OK*
        #TAKEWORD#=#22#,#11#,#12#
        // Recuperer le titre du film
        #FIND#=">#11# #ONERROR#=*OK*
        #COMPUTEVAR#=#11#+1
        #FIND#=</a> #12# #ONERROR#=*OK*
        #TAKEWORD#=#20#,#11#,#12#
        #CHECKVARIABLE#=#20#
        #CLEARTAGS#
        #STARTDELETETAGS#
        // Seek For Original Title
        #FIND#=(#11# #ONERROR#=*OK*
        #IF# #11#<>#00#
            #FIND#=)#12# #ONERROR#=*OK*
            #TAKEWORD#=#21#,#11#,#12#
            #CHECKVARIABLE#=#21#
            #CLEARTAGS#
            #STARTDELETETAGS#
            #STRING#=#20#=#20# (#21#)
        #ENDIF#
        #STRING#=#23#=http://www.moviecovers.com/film/titre_#22#.html
        #WRITETITLELIST#=#23#           ---> #20#
	      #GOTO#=WriteDetails
        :WriteDetails
        #WRITETITLELIST#=#20#
        :ExitWhilePage
        #LOADCURSOR#=#49#
        #FINDLINE#=<li><a href="#15# #ONERROR#=*OK*
    #WHILE# #15#<>#00#

    // Next Page ?
    #STARTREADWEB#
    #FINDLINE#=Films précédents#10# #ONERROR#=*OK*
    #IF# #10#<>#00#
        // "Films suivants" est apres "Films précédents"
        #FIND#="/recherche#10# #ONERROR#=*OK*
        #COMPUTECURSOR#=+1
        #FIND#="#12# #ONERROR#=*OK*
        #TAKEWORD#=#20#,#10#,#12#
        #STRING#=#20#=http://www.moviecovers.com#20#
    #ENDIF#
    #IF# #50#<>#00#
        #RESTOREWEB#
    #ENDIF#
    #IF# #10#<>#00#
        #PUT#=1#50#
        #OPENNEWWEB#=#20#
        #GOTO#=ReadNewPage
    #ENDIF#
:NoResult
#ENDCREATEMOVIELIST#

--MOVIEID LIEN IDMC-----------------------------------------------------------------------
#MOVIEID#
    #STARTREADWEB#
    #PUT#=0#20#
    #FINDLINE#="right" valign="top">IDMC</th>#15##ONERROR#=*STOP*
    #READNEXTLINE#
    #FIND#=<pre>#11# #ONERROR#=*OK*
    #COMPUTEVAR#=#11#+4
    #FIND#=</pre>#12# #ONERROR#=*OK*
    #TAKEWORD#=#20#,#11#,#12#
    #CHECKVARIABLE#=#20#
    #TAKEMOVIEID#=#20#
#ENDMOVIEID#

--TITRE ORIGINAL -------------------------------------------------------------------------
#MOVIETITLE#
    #STARTREADWEB#
    #PUT#=0#20#
    #FINDLINE#=title#15# #ONERROR#=*STOP*
    #FIND#=title#11# #ONERROR#=*STOP*
    #FIND#=>#11# #ONERROR#=*STOP*
    #FIND#=<#12# #ONERROR#=*STOP*
    #TAKEWORD#=#20#,#11#,#12#
    #CHECKVARIABLE#=#20#
    #STARTDELETETAGS#
    #TITLE#=#20# #ONERROR#=*ASK*
    // Titre original
    // If not found, keep title
    #FINDLINE#=Titre original#15# #ONERROR#=*OK*
    #IF# #15#<>#00#
        #READNEXTLINE#
        #READNEXTLINE#
        #PUT#=0#11#
        #FIND#=</TD#12# #ONERROR#=*STOP*
        #TAKEWORD#=#20#,#11#,#12#
        #CHECKVARIABLE#=#20#
        #CLEARTAGS#
        #STARTDELETETAGS#
        #STARTSUBSTITUTETAGS#
    #ENDIF#
    #ORIGINALTITLE#=#20# #ONERROR#=*ASK*
#ENDMOVIETITLE#

--ACTEURS-----------------------------------------------------------------------------------
#ACTORS#
    #STARTREADWEB#
    #PUT#=0#20#
    #FINDLINE#=multicrit.html?acteur=#15# #ONERROR#=*ASK*
    :LOOP
    #FIND#=multicrit.html?acteur=#15# #ONERROR#=*STOP*
    #FIND#=int=1">#11# #ONERROR#=*STOP*
    #COMPUTEVAR#=#11#+6
    #FIND#=</a#12# #ONERROR#=*STOP*
    #TAKEWORD#=#20#,#11#,#12#
    #ADDACTOR#=#20#
    #TAKEACTOR#=#20#
    #GOTO#=LOOP
#ENDACTORS#

--CATEGORY----------------------------------------------------------------------------------
#GENRE#
    #STARTREADWEB#
    #PUT#=0#20#
    #FINDLINE#=multicrit.html?genre=#15# #ONERROR#=*STOP*
    #FIND#=int=1">#11# #ONERROR#=*STOP*
    #COMPUTEVAR#=#11#+6
    #FIND#=</a#12# #ONERROR#=*STOP*
    #TAKEWORD#=#20#,#11#,#12#
    #CHECKVARIABLE#=#20#
    #CLEARTAGS#
    #STARTDELETETAGS#
    #TAKEGENRE#=#20# #ONERROR#=*ASK*
#ENDGENRE#

--DUREE -------------------------------------------------------------------------
#RUNTIME#
    #STARTREADWEB#
    #PUT#=0#20#
    #FINDLINE#=p">Dur#15# #ONERROR#=*STOP*
    #READNEXTLINE#
    #READNEXTLINE#
// Heure
    #FIND#=H#11# #ONERROR#=*STOP*
    #COMPUTEVAR#=#11#-2
    #FIND#=H#12# #ONERROR#=*STOP*
    #COMPUTEVAR#=#12#
    #TAKEWORD#=#49#,#11#,#12#
// Minutes
    #FIND#=H#11# #ONERROR#=*STOP*
    #COMPUTEVAR#=#11#+1
    #PUTCURSOR#=#11#
    #FIND#=H#12# #ONERROR#=*STOP*
    #COMPUTEVAR#=#12#+3
    #TAKEWORD#=#50#,#11#,#12#
//Durée
    #STRING#=#20#=#49#h#50#min
    #CHECKVARIABLE#=#20#
    #CLEARTAGS#
    #STARTDELETETAGS#
    #TAKERUNTIME#=#20# #ONERROR#=*ASK*
#ENDRUNTIME#

--ANNEE----------------------------------------------------------------------------------
#YEAR#
    #STARTREADWEB#
    #PUT#=0#20#
    #FINDLINE#=multicrit.html?annee#15# #ONERROR#=*STOP*
    #FIND#=int=1">#11# #ONERROR#=*STOP*
    #COMPUTEVAR#=#11#+6
    #FIND#=</a#12# #ONERROR#=*STOP*
    #TAKEWORD#=#20#,#11#,#12#
    #CHECKVARIABLE#=#20#
    #CLEARTAGS#
    #STARTDELETETAGS#
    #TAKEYEAR#=#20# #ONERROR#=*ASK*
#ENDYEAR#

--PAYS-----------------------------------------------------------------------------------
#COUNTRY#
    #STARTREADWEB#
    #PUT#=0#20#
    #FINDLINE#=multicrit.html?nation=#15# #ONERROR#=*STOP*
    #FIND#=int=1">#11# #ONERROR#=*STOP*
    #COMPUTEVAR#=#11#+6
    #FIND#=</a#12# #ONERROR#=*STOP*
    #TAKEWORD#=#20#,#11#,#12#
    #CHECKVARIABLE#=#20#
    #CLEARTAGS#
    #STARTDELETETAGS#
    #TAKECOUNTRY#=#20#
#ENDCOUNTRY#

--STUDIO-------------------------------------------------------------------------------
#STUDIO#
    #STARTREADWEB#
    #PUT#=0#20#
    #FINDLINE#=multicrit.html?distri=#15# #ONERROR#=*STOP*
    #FIND#=int=1">#11# #ONERROR#=*STOP*
    #COMPUTEVAR#=#11#+6
    #FIND#=</a#12# #ONERROR#=*STOP*
    #TAKEWORD#=#20#,#11#,#12#
    #CHECKVARIABLE#=#20#
    #CLEARTAGS#
    #STARTDELETETAGS#
    #TAKESTUDIO#=#20# #ONERROR#=*ASK*
#ENDSTUDIO#

--IMAGES-----------------------------------------------------------------------------------
#POSTER#
    #STARTREADWEB#
    #PUT#=0#20#
    #FINDLINE#=getjpg.html#15# #ONERROR#=*STOP*
    #FIND#=<A href="/="#11# #ONERROR#=*OK*
    #COMPUTEVAR#=#11#+9
    #FIND#=.jpg#12# #ONERROR#=*OK*
    #TAKEWORD#=#21#,#11#,#12#
    #STRING#=#20#=http://www.moviecovers.com#21#
    #CHECKVARIABLE#=#20#
    #TAKEPOSTER#=#20# #ONERROR#=*ASK*
#ENDPOSTER#

--DIRECTOR----------------------------------------------------------------------------------
#DIRECTOR#
    #STARTREADWEB#
    #FINDLINE#=multicrit.html?real=#15# #ONERROR#=*ASK*
    #PUT#=0#00#
    #REPEAT#
            #FIND#=multicrit.html?real=#15# #ONERROR#=*OK*
        #IF# #00#<>#15#
            #FIND#=int=1">#11# #ONERROR#=*STOP*
            #COMPUTEVAR#=#11#+6
            #FIND#=</a#12# #ONERROR#=*STOP*
            #TAKEWORD#=#20#=#11#=#12#
            #CHECKVARIABLE#=#20#
            #STARTDELETETAGS#
            #STARTSUBSTITUTETAGS#
            #ADDACTOR#=#20#
	    #TAKEDIRECTOR#=#20#
        #ENDIF#
    #WHILE# #00#<>#15#	
    :SKIP
#ENDDIRECTOR#

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





































Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 09 Jan 2007 :  22:51:10  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Great!

Thank you very much! Tomorrow I will take a look to find a solution and I will upload the script to server.

Alessio
Go to Top of Page
  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.13 sec. Powered By: Snitz Forums 2000 Version 3.4.07