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 for www.dvd-palace.de
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Hitman
Starting Member

Germany
1 Posts

Posted - 29 Apr 2006 :  19:51:06  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hallo all

I need a Script for www.dvd-palace.de. How can I write it??

Or someone can Help me?

greetz

Mario

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 29 Apr 2006 :  20:12:19  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Hitman,

Thank you for the link, it's a really good website for DVD!

I don't know if you are familiar with Script Engine. There is a programmer's guide inside XMM, you can also take a look at IMDB, that is the most complete, to know how to start.

If I have some free time next week I can try to do it.

Alessio
Go to Top of Page

Mawu
Senior Member

Germany
1027 Posts

Posted - 03 May 2006 :  20:34:25  Show Profile  Visit Mawu's Homepage  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Alessio,

here are my efforts so far, but still not working because of some errors in creating the hit list and after the selection of link ("Invalid URI: The URI scheme is not valid"). At the moment I see not the wood for the trees. Maybe it's easier to create a script for DVDB.DE which has the same database.

-----------------------------------------------
- eXtreme Movie Manager -
- MagicScript Technology -
- 2001-2006 Alessio "AleTsg" Viti -
-----------------------------------------------
- Web : DVD-PALACE.DE -
- Author : Mawu -
- Date : 02/05/2006 -
- Comment : Imports some info -
-----------------------------------------------

#MADEBY#=eb1, mawu
#DATEBUILD#=02/06/2006
#WEBSITE#=DVD-PALACE.DE (GERMAN)
#NOTE#=Imports German DVD-Title + Plot + Actors + Director etc.
#SCRIPTQUALITY#=4
#SCRIPTGENERATION#=3
#TVSERIES#=FALSE
#SCRIPTFORACTORS#=FALSE

#SCRIPTWEBSITE#=http://www.dvd-palace.de/dvddatabase/

#WEBQUERY#=http://www.dvd-palace.de/dvddatabase/dbsearch.php?action=1&suchbegriff=#MOVIE#

#LANGUAGESORT#=DE
#TYPE#=2
#OPTIONS#=0

#RIGHTPAGEFOUND#
#STARTREADWEB#
#PUT#=DVD-PALACE Home Entertainment - DVD Datenbank Suchergebnis#04#
#FINDLINE#=<TITLE>#12# #ONERROR#=*STOP*
#FIND#=<TITLE>#12# #ONERROR#=*STOP*
#FIND#=>#01# #ONERROR#=*STOP*
#FIND#=<#02# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#CONDITIONRIGHTPAGE# #03#==#04#
#ENDRIGHTPAGEFOUND#

#CREATEMOVIELIST#
#STARTREADWEB#
#PUT#=1#21#
#PUT#=0#02#
#PUT#=0#20#
#PUT#=1#10#
#PUT#=0#16#
#FINDLINE#=Gefundene Datensätze: <b>0</b>#11##ONERROR#=*OK*
#IF# #10#==#11#
#PUT#=1#20#
#WRITETITLELIST#=MOVIE not found in the database
#GOTO#=NOMATCHES
#ENDIF#
#STARTREADWEB#
#WRITETITLELIST#=Movies found
#WRITETITLELIST#=-------------------------------
#REPEAT#
#FINDLINE#=<a href="/dvd-datenbank/#01##ONERROR#=*OK*
#FIND#=dvd-datenbank/#01# #ONERROR#=*OK*
#IF# #01#<>#02#
#FIND#=/#08# #ONERROR#=*ASK*
#FIND#="#03# #ONERROR#=*ASK*
#TAKEWORD#=#06#,#08#,#03#
#FIND#=>#04# #ONERROR#=*ASK*
#FIND#=<#05# #ONERROR#=*ASK*
#TAKEWORD#=#07#,#04#,#05#
#IF# #07# <> #16#
#WRITETITLELIST#=<a href="http://www.dvd-palace.de/dvd-datenbank/#06# ---> #07#
#ENDIF#
#WHILE# #01#<>#02#
:NOMATCHES
#ENDCREATEMOVIELIST#

#MOVIETITLE#
#STARTREADWEB#
#FINDLINE#=Originaltitel#12##ONERROR#=*STOP*
#FIND#=Originaltitel#01# #ONERROR#=*STOP*
#FIND#=class="DETAILTEXT"#01# #ONERROR#=*STOP*
#FIND#=>#01# #ONERROR#=*STOP*
#FIND#=<#02# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#CHECKVARIABLE#=#03#
#CLEARTAGS#
#STARTDELETETAGS#
#STARTSUBSTITUTETAGS#
#TITLE#=#03# #ONERROR#=*ASK*
:SKIP
#ENDMOVIETITLE#

#DIRECTOR#
#STARTREADWEB#
#FINDLINE#=Regie:#12##ONERROR#=*STOP*
#FIND#=Regie:#12##ONERROR#=*STOP*
#FIND#=;<a#01# #ONERROR#=*OK*
#FIND#=</a>#02# #ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02#
#CHECKVARIABLE#=#03#
#CLEARTAGS#
#STARTDELETETAGS#
#STARTSUBSTITUTETAGS#
#ADDACTOR#=#03#
#TAKEDIRECTOR#=#03#
:SKIP
#ENDDIRECTOR#

#ACTORS#
#STARTREADWEB#
#FINDLINE#=Darsteller#12##ONERROR#=*OK*
#FIND#=Darsteller#12##ONERROR#=*OK*
#FIND#=<a href="#01##ONERROR#=*STOP*
#COMPUTECURSOR#=-1
#PUTCURSOR#=#01#
#FIND#=</a> </TD>#02# #ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02#
#CHECKVARIABLE#=#03#
#CLEARTAGS#
#STARTDELETETAGS#
#STARTSUBSTITUTETAGS#
#TAKEACTOR#=#03#
:SKIP
#ENDACTORS#

#GENRE#
#STARTREADWEB#
#FINDLINE#=Regie:#12##ONERROR#=*STOP*
#FIND#=Regie:#12##ONERROR#=*STOP*
#FIND#=nowrap>#01# #ONERROR#=*OK*
#FIND#=>#01# #ONERROR#=*OK*
#FIND#=<#02# #ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02#
#CHECKVARIABLE#=#03#
#CLEARTAGS#
#STARTDELETETAGS#
#STARTSUBSTITUTETAGS#
#TAKEGENRE#=#03#
:SKIP
#ENDGENRE#

#PLOT#
#STARTREADWEB#
#PUT#=3#23#
#PUT#=0#20#
#PUT#=0#21#
#PUT#=100#29#
#PUT#=em>#33#
#PUT#=br #34#
#FINDLINE#=<img src="/dvddatabase/dbimages/#12##ONERROR#=*STOP*
#FIND#=<img src="/dvddatabase/dbimages/#01#
#FIND#=<br>#01#
#FIND#=>#01#
:REPEAT
#FIND#=<#02# #ONERROR#=*OK*
#IF# #02#==#20#
#FIND#=...#02#
#ENDIF#
#TAKEWORD#=#03#,#01#,#02#
#CHECKVARIABLE#=#03#
#CLEARTAGS#
#STARTDELETETAGS#
#STARTSUBSTITUTETAGS#
#STRING#=#08#=#03#
#TAKEPLOT#=#08#

#TAKEWORDLEN#=#04#,#02#,#23#
#IF# #04#==#33#
#FIND#=</em>#01#
#FIND#=>#01#
#PUT#=0#05#
#ENDIF#
#IF# #04#==#34#
#READNEXTLINE#
#READNEXTLINE#
#FIND#=</TD>#05#
#PUT#=0#01#
#ENDIF#
#IF# #04#<>#33#
#IF# #04#<>#34#
#GOTO#=SKIP2
#ENDIF#
#IF# #05#==#20#
#GOTO#=REPEAT
#ENDIF#
:SKIP2
#ENDPLOT#

#COMMENTS#
#STARTREADWEB#
#PUT#=0#04#
#FINDLINE#=DVD-Bewertung<br>schreiben...#12##ONERROR#=*STOP*
#FIND#=</p>#01##ONERROR#=*STOP*
#FIND#=>#01##ONERROR#=*STOP*
#FIND#=<h5>#02# #ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02#
#CHECKVARIABLE#=#03#
#CLEARTAGS#
#STARTDELETETAGS#
#STARTSUBSTITUTETAGS#
#TAKECOMMENTS#=#03#
:SKIP
#ENDCOMMENTS#


#RUNTIME#
#STARTREADWEB#
#FINDLINE#=Laufzeit:#12##ONERROR#=*STOP*
#FIND#=:#01# #ONERROR#=*STOP*
#COMPUTECURSOR#=+1
#PUTCURSOR#=#01#
#FIND#=<#02# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#TAKERUNTIME#=#03#
:SKIP
#ENDRUNTIME#

#MOVIEID#
#STARTREADWEB#
#FINDLINE#=dvdcode=#12##ONERROR#=*STOP*
#FIND#=dvdcode=#12##ONERROR#=*STOP*
#FIND#==#01##ONERROR#=*OK*
#FIND#=)#02# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#TAKEMOVIEID#=#03#
:SKIP
#ENDMOVIEID#

#UPC#
#STARTREADWEB#
#PUT#=0#04#
#FINDLINE#=EAN-Code#12##ONERROR#=*STOP*
#FIND#=<B>#01##ONERROR#=*STOP*
#FIND#=>#01##ONERROR#=*STOP*
#FIND#=</B>#02# #ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02#
#CHECKVARIABLE#=#03#
#CLEARTAGS#
#STARTDELETETAGS#
#STARTSUBSTITUTETAGS#
#TAKEUPC#=#03#
:SKIP
#ENDUPC#

#MPAA#
#STARTREADWEB#
#FINDLINE#=FSK:#12##ONERROR#=*STOP*
#FIND#=:#01# #ONERROR#=*STOP*
#COMPUTECURSOR#=+1
#PUTCURSOR#=#01#
#FIND#=<#02# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#CHECKVARIABLE#=#03#
#CLEARTAGS#
#STARTDELETETAGS#
#STARTSUBSTITUTETAGS#
#TAKEMPAA#=#03#
:SKIP
#ENDMPAA#

#SCREENDVD#
#STARTREADWEB#
#FINDLINE#=Bildformat(e)#12##ONERROR#=*STOP*
#COMPUTECURSOR#=+84
#PUTCURSOR#=#01#
#FIND#<BR>#02# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#CHECKVARIABLE#=#03#
#CLEARTAGS#
#STARTDELETETAGS#
#STARTSUBSTITUTETAGS#
#TAKESCREENDVD#=#03#
:SKIP
#ENDSCREENDVD#

#AUDIODVD#
#STARTREADWEB#
#FINDLINE#=Tonformat(e)#12##ONERROR#=*STOP*
#FIND#<TD>#01# #ONERROR#=*STOP*
#COMPUTECURSOR#=+83
#PUTCURSOR#=#01#
#FIND#</TD>#02# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#CHECKVARIABLE#=#03#
#CLEARTAGS#
#STARTDELETETAGS#
#STARTSUBSTITUTETAGS#
#TAKEAUDIODVD#=#03#
:SKIP
#ENDAUDIODVD#

#CUSTOMINFO#
#STARTREADWEB#
#FINDLINE#=DVD-Ausstattung#12##ONERROR#=*STOP*
#FIND#<UL>#01# #ONERROR#=*STOP*
#FIND#=>#01##ONERROR#=*STOP*
#FIND#</UL>#02# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#CHECKVARIABLE#=#03#
#CLEARTAGS#
#STARTDELETETAGS#
#STARTSUBSTITUTETAGS#
#TAKECUSTOM11#=#03#
#ENDCUSTOMINFO#

#DELETETAGS#
#DELETEWORD#= 
#DELETEWORD#=<BR>
#DELETEWORD#=</BR>
#DELETEWORD#=</P>
#DELETEWORD#=</BLOCKQUOTE>
#DELETEWORD#=

#DELETEWORD#=
#DELETEWORD#=<b
#DELETEWORD#=b>
#DELETEWORD#=<br />
#DELETEWORD#=br />
#DELETEWORD#= />
#ENDDELETETAGS#

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

Edited by - Mawu on 03 May 2006 20:36:13
Go to Top of Page

elturko
New Member

59 Posts

Posted - 05 Aug 2007 :  17:23:06  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
this script hangs with a couple of dvds, eg:
http://www.dvd-palace.de/dvd-datenbank/24397.html
i think after it imports the cover at some point.

i should have looked here... :
http://www.binaryworks.it/forum/topic.asp?TOPIC_ID=2452


for German pages: doesent amazon.de have the same layout as .fr, co.uk or .com?


Edited by - elturko on 05 Aug 2007 17:28:31
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.12 sec. Powered By: Snitz Forums 2000 Version 3.4.07