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
 carteles.metropoliglobal.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

Arqtico
Starting Member

8 Posts

Posted - 06 May 2007 :  22:32:27  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I try to develop a script to metropoliglobal.com (only posters, hight cuality)
I don't get that it works, where is the problem?

-------------------------------------------------
- eXtreme Movie Manager -
- MagicScript Technology -
- 2001-2006 Alessio "AleTsg" Viti -
-------------------------------------------------
- Web : carteles.metropoliglobal.com -
- Author : Arqtico -
- Date : 20070426 -
- Comments : Import All Posters. -
- -
-------------------------------------------------
- Current version 1.0: -
-------------------------------------------------


#MADEBY#=[Arqtico]
#DATEBUILD#=26/Abr/2007
#WEBSITE#=METROPOLIGLOBAL.COM (SPANISH)
#NOTE#=Import All Posters.

#SCRIPTQUALITY#=4
#ICONQUALITY#=4
#SCRIPTGENERATION#=3
#TVSERIES#=FALSE
#SCRIPTFORACTORS#=FALSE


//New Tags of MagicScript Engine Generation 3
#LANGUAGESORT#=SP
[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://carteles.metropoliglobal.com/

#WEBQUERY#=http://carteles.metropoliglobal.com/paginas/ficha.php?qbtitulo=#MOVIE#&qbbuscar=titulo&Submit=Buscar&qsec=buscar


#RIGHTPAGEFOUND#
#STARTREADWEB#
#FINDLINE#=Se han encontrado #11##ONERROR#=*STOP*
#PUTCURSOR#=#11#
#PUT#=5#12#
#COMPUTECURSOR#=+17
#PUTCURSOR#=#01#
#TAKEWORDLEN#=#06#,#11#,#12#
#PUT#=2#02#
#TAKEWORDLEN#=#03#,#01#,#02#
#STRING#=#04#=MetropoliGlobal - Resultado: #03# Películas
#PUT#=e han#05#
#CONDITIONRIGHTPAGE# #06#<>#05#
#ENDRIGHTPAGEFOUND#

#CREATEMOVIELIST#
#STARTREADWEB#
#STRING#=#05#=0
#IF# #03#==#05#
#WRITETITLELIST#=No se ha encontrado ninguna película por el título original
#GOTO#=NOTHING
#ENDIF#
#WRITETITLELIST#=#04#
#WRITETITLELIST#=_________________------------------------------_________________

#STARTREADWEB#
#FINDLINE#=Director</td>#11##ONERROR#=*OK*
#PUT#=0#02#
:REPEATTITLE
#FINDLINE#=<tr bgcolor#11##ONERROR#=*STOP*
#READNEXTLINE#
#FIND#=<td>#11##ONERROR#=*STOP*
#COMPUTECURSOR#=+3
#PUTCURSOR#=#01#
#FIND#=</td>#12# #ONERROR#=*OK*
#TAKEWORD#=#23#,#01#,#12#
#CHECKVARIABLE#=#23#

#FINDLINE#="ficha.php?qsec=peli&qid=#01##ONERROR#=*STOP*
#FIND#="ficha.php?qsec=peli&qid=#01##ONERROR#=*STOP*
#FIND#=">#11##ONERROR#=*STOP*
#TAKEWORD#=#20#,#01#,#11#
#STRING#=#24#=http://carteles.metropoliglobal.com/paginas/#20#
#CHECKVARIABLE#=#24#
#COMPUTECURSOR#=+1
#PUTCURSOR#=#01#
#FIND#=</a></td>#11##ONERROR#=*OK*
#TAKEWORD#=#21#,#01#,#11#
#CHECKVARIABLE#=#21#

#READNEXTLINE#
#FIND#=<td>#11##ONERROR#=*STOP*
#COMPUTECURSOR#=+3
#PUTCURSOR#=#01#
#FIND#=</td>#12# #ONERROR#=*OK*
#TAKEWORD#=#22#,#01#,#12#
#CHECKVARIABLE#=#22#

#WRITETITLELIST#=#23# --> #21# ("#22#") <-- #24#
#GOTO#=REPEATTITLE
:NOTHING
#WRITETITLELIST#=-----------------______________________________-----------------
#ENDCREATEMOVIELIST#

#MOVIETITLE#
//Título:
#STARTREADWEB#
#FINDLINE#=title"#01##ONERROR#=*STOP*
#FIND#=">#11##ONERROR#=*STOP*
#COMPUTECURSOR#=+1
#PUTCURSOR#=#01#
#FIND#=</span>#11##ONERROR#=*OK*
#COMPUTECURSOR#=-6
#PUTCURSOR#=#11#
#TAKEWORD#=#25#,#01#,#11#
#CHECKVARIABLE#=#25#
#TITLE#=#25#
#ENDMOVIETITLE#

#MOVIEID#
//ID:
#STARTREADWEB#
#FINDLINE#=name="ID"#01##ONERROR#=*STOP*
#FIND#=value="#01# #ONERROR#=*OK*
#FIND#="#01# #ONERROR#=*OK*
#PUTCURSOR#=#01#
#COMPUTECURSOR#=+1
#FIND#="#11# #ONERROR#=*OK*
#PUTCURSOR#=#11#
#TAKEWORD#=#26#,#01#,#11#
#CHECKVARIABLE#=#26#
#TAKEMOVIEID#=#26#
#ENDMOVIEID#

#PLOT#
//Sinopsis:
#STARTREADWEB#
#FINDLINE#=>térpretes:#01##ONERROR#=*STOP*
#FINDLINE#=<td colspan="2" valign="top">#01##ONERROR#=*STOP*
#FIND#=">#11##ONERROR#=*STOP*
#COMPUTECURSOR#=+1
#PUTCURSOR#=#01#
#FIND#=</td>#11##ONERROR#=*OK*
#TAKEWORD#=#24#,#01#,#11#
#CHECKVARIABLE#=#24#
#TAKEPLOT#=#24#
#ENDPLOT#

#POSTER#
//Poster:
#STARTREADWEB#
:REPEATPOSTER
#FINDLINE#=pgrande.php?#01##ONERROR#=*STOP*
#FIND#=data/#01##ONERROR#=*STOP*
#COMPUTECURSOR#=+4
#PUTCURSOR#=#01#
#FIND#=-thumb.jpg#11##ONERROR#=*STOP*
#TAKEWORD#=#30#,#01#,#11#
#STRING#=#31#=http://carteles.metropoliglobal.com/galerias/data/#30#.jpg
#TAKEPOSTER#=#31#
#GOTO#=REPEATPOSTER
#ENDPOSTER#

Are there any web with a complete information over magic script?

This http://xmm.wiki-site.com/index.php/MagicScript_Technology_Programmer's_Guide is the only?
  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.11 sec. Powered By: Snitz Forums 2000 Version 3.4.07