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 8, 9, 10 Forum
 Scripts
 Modify script for thetvdb.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

Miyuri
New Member

62 Posts

Posted - 07 Jan 2013 :  09:06:38  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I want modify the skript like i have done for V7.X but i have problem to get the plot as notes. I have copy my modify from last work and the first part with the title as original title work well.

http://www.binaryworks.it/forum/topic.asp?TOPIC_ID=7476


PHASE 1, IMPORTING SERIE INFORMATIONS

#NOTES#

#IF# #97#==#00#
#GOTO#=ENDPLOT
#ENDIF#

#WRITETITLELIST#=
#WRITETITLELIST#=Plot:
#WRITETITLELIST#=-----

#STARTREADWEB#

#FINDLINE#=<td>Overview: </td>#10##ONERROR#=*STOP*
#FINDLINE#="display: inline">#10##ONERROR#=*STOP*
#PUT#=#04#
:REPEATMAINPLOT
#TAKEWORD#=#03#,#00#,#00# //Entire Line of Plot
#CHECKVARIABLE#=#03#
#STARTSUBSTITUTETAGS#
#CLEARTAGS#
#TRIM#
#STRING#=#04#=#04##NEWLINE##03#
#RESETCURSOR#
#FIND#=</textarea>#10# #ONERROR#=*OK*
#IF# #10#<>#00#
#GOTO#=ENDMAINPLOT
#ENDIF#
#READNEXTLINE#
#GOTO#=REPEATMAINPLOT

:ENDMAINPLOT
#CHECKVARIABLE#=#04#
#TRIM#
#TAKENOTES#=#04#
#WRITETITLELIST#=#04#
:ENDPLOT
#ENDNOTES#


PHASE 2, IMPORTING EPISODE INFORMATIONS

#EPISODENOTES#

#RESTOREMAIN# //Open the Main Webpage
#STARTREADWEB#

#FINDLINE#=<td>Overview: </td>#12##ONERROR#=*STOP*
#FINDLINE#=style="display: inline">#12##ONERROR#=*STOP*
#PUT#=#04#
:REPEATEPISODEPLOT
#RESETCURSOR#
#TAKEWORD#=#03#,#00#,#00#
#CHECKVARIABLE#=#03#
#STARTSUBSTITUTETAGS#
#CLEARTAGS#
#TRIM#
#STRING#=#04#=#04##NEWLINE##03#
#RESETCURSOR#
#FIND#=</textarea>#12##ONERROR#=*OK*
#IF# #12#<>#00#
#GOTO#=ENDPLOTSERIOUS
#ENDIF#
#READNEXTLINE#
#GOTO#=REPEATEPISODEPLOT

:ENDPLOTSERIOUS
#CHECKVARIABLE#=#04#
#TRIM#
TAKENOTES#=#04#
#WRITETITLELIST#=Plot: #04#

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