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
 Bug Report
 TV.COM -- cast extract bug
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Fred
Starting Member

5 Posts

Posted - 14 Sep 2006 :  18:19:29  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

you may want to update the #SERIECAST# block of the tv.com script with the following:


//--------------------------------------------------------------
#SERIECAST#

    #STARTREADWEB#

// Main Cast
    #WRITETITLELIST#=
    #WRITETITLELIST#=Main Cast:
    #WRITETITLELIST#=----------

    #FINDLINE#=<h1>Cast and Crew</h1>#10##ONERROR#=*STOP*

    :REPEATCASTSERIES
	// left side actor name
        #FINDLINE#=<td valign="top" class="pr-10" style="width:50%;">#10##ONERROR#=*STOP*
        #READNEXTLINE#
        #FIND#=>#01#
        #FIND#=<#02#
        #TAKEWORD#=#05#,#01#,#02#       //Actor Name

        #READNEXTLINE#
        #TAKEWORD#=#06#,#00#,#00#       //Alias
        #CHECKVARIABLE#=#06#
        #TRIM#
        #STRING#=#03#=#05# (#06#)
	 #TAKEACTORSERIE#=#03#

        #WRITETITLELIST#=#03#
	// right side actor name
        #FINDLINE#=<td valign="top" class="pl-10" style="width:50%;">#10##ONERROR#=*STOP*
        #READNEXTLINE#
        #FIND#=>#01#
        #FIND#=<#02#
        #TAKEWORD#=#05#,#01#,#02#       //Actor Name

        #READNEXTLINE#
        #TAKEWORD#=#06#,#00#,#00#       //Alias
        #CHECKVARIABLE#=#06#
        #TRIM#
        #STRING#=#03#=#05# (#06#)
	 #TAKEACTORSERIE#=#03#

        #WRITETITLELIST#=#03#
    #GOTO#=REPEATCASTSERIES

#ENDSERIECAST#
  • The cast is listed in two columns on TV.com

  • The original script extracts only the left column names

  • It would be easier if #FINDLINE#= would accept regular expressions so we could use only one #FINDLINE# to match both the 'class="pl-10"' and 'class="pr-10"' variants

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 15 Sep 2006 :  11:09:32  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you very much Fred!!

I will upload the modified script in few minutes.

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.12 sec. Powered By: Snitz Forums 2000 Version 3.4.07