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
 ADULTDVDEMPIRE.COM scripts dont work!
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

amigabouy
Starting Member

5 Posts

Posted - 21 Dec 2005 :  15:38:54  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I have been having a few problems with scripts and as I don’t have a clue what to do to fix this I was rather hoping someone here might be capable of sorting it out.

it seems that all of the ADULTDVDEMPIRE.COM scripts have issues now. I suspect they have changed their database and now none of the default scripts work. *sigh*

this is just one of about 60 I need to import but I now have to do most of this manually, which I can tell you is a major pain in the ass! (no pun intended given the subject content. he he)

Movie to be imported
Girls, Girls, Girls

Error message
Error on Script Expression:The #TAKEWORD# Instruction is not complete !Line : 83

Script used (also set as default)
[ADULTDVDEMPIRE.COM]-(Full_Import_Pictures)_MQ_&_CERU_Remedio_18_Mar_2005.txt

amigabouy
Starting Member

5 Posts

Posted - 28 Dec 2005 :  23:41:15  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
hello! support... do you exist?
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 28 Dec 2005 :  23:46:01  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please sorry vry much for my late reply! Tomorrow I will take a look at the script.

Sorry again,

Alessio
Go to Top of Page

amigabouy
Starting Member

5 Posts

Posted - 30 Dec 2005 :  05:18:26  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks Alessio
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 30 Dec 2005 :  15:47:03  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I have try now to fix the problem, but the adultdvdempire website is under maintenance (if you try to search a movie doresn't work), so I must wait until the service comes back.

Alessio
Go to Top of Page

amigabouy
Starting Member

5 Posts

Posted - 30 Dec 2005 :  20:11:01  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
where is the script you edited? I have got the one from the online server
[ADULTDVDEMPIRE.COM]-(Full_Import_Pictures)_Greg_&_CERU_6_Jan_2004.txt but this still has an error
This shouldn't happen! Take a look at #REPEAT#-#WHILE# FUNCTION LINE:69
this is the error I had with this script before, so I don't think that was the one you made any changes to.
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 30 Dec 2005 :  20:21:59  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I have see only now that Adultdvdempire search is come back (today was under maintenance).

Yes, I receive the same error from the script, I will take a look.

Thank you!

Alessio
Go to Top of Page

amigabouy
Starting Member

5 Posts

Posted - 31 Dec 2005 :  19:58:54  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
thanks Alessio, I'll look forward to trying the new script
Go to Top of Page

carfesh
Starting Member

Germany
18 Posts

Posted - 01 Jan 2006 :  11:54:13  Show Profile  Edit Reply  Send carfesh an AOL message  Send carfesh an ICQ Message  Send carfesh a Yahoo! Message  Reply with Quote  View user's IP address  Delete Reply
Hi,

it seems that the format of the search results has changed; the error in line 83 resulted from that change in the search page format. I've done a fixed version which you can test (I hope the original author doesn't mind and that this is the right way to post new scripts):

-----------------------------------------------
-Any comments, sugestions, bug reports; please-
-email me at remediomolina@yahoo.com          -
-----------------------------------------------



#MADEBY#=MQ, CERU, Alessio Viti GREG,Remedio., carfesh
#DATEBUILD#=03/18/2005
#WEBSITE#=ADULTDVDEMPIRE.COM - (DVD - ENGLISH)
#NOTE#=Complete Import With DVD Covers
#SCRIPTQUALITY#=6
#LANGUAGESORT#=ENGLISH
#TYPE#=COMPLETE
#SCRIPTGENERATION#=2

#WEBQUERY#=http://adult.dvdempire.com/Exec/v1_search_titles.asp?userid=&string=#MOVIE#&include_desc=0&used=0&searchID=&pp=4&sort=0&view=0&display_pic=0&page=
//The web query includes the flag for 100 results per page; if a search has more than 100
//results the script will only show the first 100. It's done this way because a search with
//more than 100 results turns really slow and sometimes causes the script not to show the
//full list of results or it ends on a server timeot. 100 results seems enough anyway 

#RIGHTPAGEFOUND#
    #STARTREADWEB#
    #PUT#=0#01#
    #PUT#=0#02#
    #FINDLINE#=Matches Found#01##ONERROR#=*OK*
    #CONDITIONRIGHTPAGE# #01#==#02#
#ENDRIGHTPAGEFOUND#

#CREATEMOVIELIST#
#STARTREADWEB#
//START
    //"globals" or something
        #PUT#=1#01#
        #PUT#=0#00#
        #PUT#=99#24#
      #PUT#=0#20#
    #PUT#=1#19#

       #FINDLINE#=showpictures#11# #ONERROR#=*OK*   
    //titlelist header text
        #WRITETITLELIST#=     Titles found:
    #WRITETITLELIST#=--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    //check if matches found ->no->exit,else continue
      //no-titles-found condition check
        #IF# #00#==#11#
            #WRITETITLELIST#=No Titles Found
            #GOTO#=EXIT
        #ENDIF#

#STARTREADWEB#
    
:TITLESCAN
#STARTREADWEB#
    //fine tune search
    #STARTREADWEB#
    #FINDLINE#=<img width="1" height="10" src="http://images.dvdempire.com/res/pm/blank.gif" border="0">#12##ONERROR#=*OK*
    #IF# #12#==#00#
        #GOTO#=EXIT
    #ENDIF#

    #FIND#=&searchID#12##ONERROR#=*OK*
    #IF# #12#==#00#
        #GOTO#=EXIT
    #ENDIF#

    //The result-find-import loop
    #REPEAT#
        //title counter
        #COMPUTEVAR#=#20#=+1
        //start of item id
        #COMPUTECURSOR#=-20
        #FIND#=;item_id=#02# #ONERROR#=*OK*
        #COMPUTEVAR#=#02#=+8
        //end of item id
        #FIND#=&searchID#03# #ONERROR#=*OK*
        //take item id, save it
        #TAKEWORD#=#06#,#02#,#03#

        //start of the title word
        #FIND#=>#01# #ONERROR#=*OK*
        //end of the title word
        #FIND#=<#03# #ONERROR#=*OK*
        //take title and save it
        #TAKEWORD#=#07#,#01#,#03#

        #STRING#=#11#=http://adult.dvdempire.com/Exec/v1_item.asp?userid=&item_id=#06#  ---> #07#

        #WRITETITLELIST#=#11#
        //'while' condition check, if no more results found -> exit,else next page
        #FIND#=&searchID#12##ONERROR#=*OK*
    #WHILE# #00#<>#12#
        
    #IF# #20#>>#24#
        #WRITETITLELIST#=--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        #WRITETITLELIST#=....Too many results Found! only the first 100 are shown (That should be enough) ;)  
        #WRITETITLELIST#=If the movie you are looking for is not on the list Please STOP and refine your search.
        #GOTO#=EXIT
    #ENDIF#
:EXIT

    //end of 'titlelist' text with "statistics"
    #WRITETITLELIST#=--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    #WRITETITLELIST#=     #20# Title(s) found
#ENDCREATEMOVIELIST#

//complete! updated july25
#MOVIETITLE#
//zero
#PUT#=0#00#
#STARTREADWEB#
//little error detection
#FINDLINE#=Timeout expired#12##ONERROR#=*OK*
    #IF# #00#<>#12#
        #STRING#=#03#=Timeout, URL unreachable.
        #TITLE#=#03#
    #ENDIF#
#STARTREADWEB#
    #FINDLINE#=<td class="fontxlarge" valign="bottom" align="left" width="100%">#12##ONERROR#=*STOP*
    #READNEXTLINE#
    #FIND#=>#02# #ONERROR#=*STOP*
    #FIND#=<#03# #ONERROR#=*STOP*
    //take title and save it
    #TAKEWORD#=#07#,#02#,#03#
    #CHECKVARIABLE#=#07#
    #STARTDELETETAGS#
    #STARTSUBSTITUTETAGS#
    #TITLE#=#07# #ONERROR#=*ASK*
#ENDMOVIETITLE#

//complete! updated july31 (fixed missing actors)
//test titles:"island fever 2", "my virtual twins", "Insatiable II"
#ACTORS#
//"global zero"
#PUT#=0#00#
//line counter
#PUT#=0#30#
//reset
#STRING#=#10#=
//"no delimeter" string
#STRING#=#31#=
//delimeter counter
#PUT#=0#36#
//delimeter
#STRING#=#35#= | 
#STARTREADWEB#
    //search for correct line (all actors are on one line)
    #FINDLINE#=<td class="fontsmall3" valign="top" width="100%" nowrap>#11# #ONERROR#=*STOP*
    //fixes missing actor issue (july31)
    #READNEXTLINE#
      #RESETCURSOR#
    //start of the list (fix, if there was portrait of a actor. the script didnt work)
    #FIND#= #11# #ONERROR#=*OK*
    #FIND#=/Exec/v1_list_performer.asp#11# #ONERROR#=*OK*
:REPEAT-TAKEACTOR
        //end conditions
        #IF# #00#==#11#
            #GOTO#=EXIT-ACTORS
        #ENDIF#
        //start of actor name...
        #FIND#=>#02# #ONERROR#=*STOP*
        //end of...
        #FIND#=</a>#03# #ONERROR#=*STOP
        //take actor name
        #TAKEWORD#=#04#,#02#,#03#

        //no newline if first line/actor name
        #IF# #00#==#30#
            #STRING#=#05#=#04#
        #ENDIF#
        //add newline if line number more than 1
        #IF# #00#<>#30#
            #STRING#=#05#=#NEWLINE##04#
        #ENDIF#
        //line counter +1
        #COMPUTEVAR#=#30#=+1
        

        //delimeter or not?
        #IF# #00#<>#36#
            //changes to delimeter string
            #STRING#=#31#=#35#
        #ENDIF#
        //add taken data to string variable (database,'delimeter',newdata)
        #STRING#=#10#=#10##31##05#
        //delimeter counter +1 (start adding it after the first loop)
        #COMPUTEVAR#=#36#=+1
        
        #ADDACTOR#=#04#

        #FIND#=href='/Exec/v1_list_performer.asp#11# #ONERROR#=*OK*
        #IF# #00#==#11#

            //fix the last actor missing characters (add empty/space as actor)
            #STRING#=#10#=#10##31#
            #GOTO#=EXIT-ACTORS
        #ENDIF#
        #GOTO#=REPEAT-TAKEACTOR
:EXIT-ACTORS
#TAKEACTOR#=#10#
#ENDACTORS#

//complete!, (tested with title(s):All About Ass 3,)
#DIRECTOR#
//zero
#PUT#=0#00#
//reset
#STRING#=#10#=
//"no delimeter" string
#STRING#=#31#=
//delimeter counter
#PUT#=0#36#
//delimeter
#STRING#=#35#= | 
#STARTREADWEB#
    // if didn't found this string, the director isn't present
    #FINDLINE#='/Exec/v1_list_director.asp?#12##ONERROR#=*STOP*

:REPEAT-TAKEDIRECTOR
    //director link exists ,always.
    #FIND#='/Exec/v1_list_director.asp?#12##ONERROR#=*OK*
    #IF# #00#==#12#
        #GOTO#=EXIT-DIRECTOR
    #ENDIF#
    // Actor Found -> Take it
    #FIND#=>#01# #ONERROR#=*STOP*
    #FIND#=<#02# #ONERROR#=*STOP*

        // Director Name Found
        #TAKEWORD#=#03#,#01#,#02#
        #CHECKVARIABLE#=#03#
        #STARTDELETETAGS#
        #STARTSUBSTITUTETAGS#

        //delimeter or not?
        #IF# #00#<>#36#
            //changes to delimeter string
            #STRING#=#31#=#35#
        #ENDIF#
        //add taken data to string variable (database,'delimeter',newdata)
        #STRING#=#10#=#10##31##03#
        //delimeter counter +1 (start adding it after the first loop)
        #COMPUTEVAR#=#36#=+1
        
        #GOTO#=REPEAT-TAKEDIRECTOR

:EXIT-DIRECTOR
#TAKEDIRECTOR#=#10#
#ENDDIRECTOR#

#STUDIO#
//reset variables
#PUT#=0#00#

#STARTREADWEB#
    //find the line
    #FINDLINE#=Studio:#12# #ONERROR#=*STOP*
    #FIND#=Studio:#02# #ONERROR#=*OK*
    //start of...
    #FIND#=studio_id=#7# #ONERROR#=*OK*
      #FIND#=>#02# #ONERROR#=*OK*
    //end of...
    #FIND#=</a>#03# #ONERROR#=*OK*
    //take string
    #TAKEWORD#=#06#,#02#,#03#
    //clean tags etc.
    #CHECKVARIABLE#=#06#
    #STARTDELETETAGS#
    #STARTSUBSTITUTETAGS#
    //delete left over tags
    #CLEARTAGS#
//import cleaned string
#TAKESTUDIO#=#06#
#ENDSTUDIO#

#PLOT#
//reset string
#STRING#=#10#=
    #STARTREADWEB#
    #FINDLINE#=>Synopsis<#12##ONERROR#=*STOP*
      //Since there isn't a way to go directly to the first line 
      //of the plot we will go to the one right before the first one
      //wich seems to be at a fixed position 
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#
      #READNEXTLINE#

    //length (sample)
    #PUT#=100#30#
    //start from..
    #PUT#=0#31#
    //compare to empty variable
    #STRING#=#32#=

        #PUT#=0#09#
    :REPEATPLOT1
        #READNEXTLINE#
    //delete all the lines that have "get products" links or such,continue to next line.
    #FIND#=>Click Here<#12##ONERROR#=*OK*
    #IF# #00#<>#12#
         #GOTO#=REPEATPLOT1
    #ENDIF#
    #FIND#= "Editor's Pick" Selection#12##ONERROR#=*OK*
    #IF# #00#<>#12#
        #GOTO#=REPEATPLOT1
    #ENDIF# 
    //fix, if empty line encountered. SKIP it.
    #TAKEWORDLEN#=#33#,#31#,#30#
    #IF# #32#==#33#
        #GOTO#=REPEATPLOT1
    #ENDIF#
    
        #FIND#=</td>#12##ONERROR#=*OK*
        #IF# #09#<>#12#
            #GOTO#=ENDTAKEPLOT1
        #ENDIF#
        #PUT#=0#01#
        #PUT#=0#02#
        #TAKEWORD#=#03#,#01#,#02#
    
    #CHECKVARIABLE#=#03#
    //fixed (swapped the order)
    #STARTDELETETAGS#
    #STARTSUBSTITUTETAGS#   
    //delete left over tags
    #CLEARTAGS#
    #STRING#=#10#=#10##03#
    #GOTO#=REPEATPLOT1
    :ENDTAKEPLOT1
#TAKEPLOT#=#10#
#ENDPLOT#

//complete! update july29 (added empty year check)
#YEAR#
#PUT#=0#08#
#PUT#=0#01#
#PUT#=0#07#

//the empty string
#STRING#=#10#=
    #STARTREADWEB#
    #FINDLINE#=Production Year:#12##ONERROR#=*STOP*
    #FIND#=Production Year:#01# #ONERROR#=*OK*
    #FIND#=</font>#07# #ONERROR#=*OK*
    #IF# #07#<>#08#
        #COMPUTECURSOR#=+6
        #PUTCURSOR#=#01#
        #FIND#=<#02# #ONERROR#=*STOP*
        #TAKEWORD#=#03#,#01#,#02#
        #CHECKVARIABLE#=#03#
        #STARTDELETETAGS#
        #STARTSUBSTITUTETAGS#
        #GOTO#=EXIT_YEAR
    #ENDIF#
     
//check if string is empty->no year given->exit
          
    #RESETCURSOR#
    #FIND#=:#01# #ONERROR#=*STOP*
    #COMPUTECURSOR#=+1
    #PUTCURSOR#=#01#
    #COMPUTECURSOR#=+5
    #PUTCURSOR#=#02#
    #TAKEWORD#=#03#,#01#,#02#
    #CHECKVARIABLE#=#03#
    #STARTDELETETAGS#
    #STARTSUBSTITUTETAGS#
    
:EXIT_YEAR
    #IF# #10#==#03#
     GOTO#=EXIT-YEAR1
    #ENDIF#
    #TAKEYEAR#=#03#
:EXIT-YEAR1
#ENDYEAR#



//good testing titles: Dark Angels, Jesse Jane: Erotique
#PRODUCER#
//zero
#PUT#=0#00#
//reset
#STRING#=#10#=
//"no delimeter" string
#STRING#=#31#=
//delimeter counter
#PUT#=0#36#
//delimeter
#STRING#=#35#= | 
    #STARTREADWEB#
    // if didn't found this string, the writer isn't present
    #FINDLINE#= - Producer#12##ONERROR#=*STOP*
    :REPEATPRODUCER1
        #FIND#= - Producer#12##ONERROR#=*OK*
        #IF# #00#==#12#
            #GOTO#=ENDPRODUCER1
        #ENDIF#
        #PUTCURSOR#=#15#
        // going back for take the name
        #COMPUTECURSOR#=-40
        // Writer Found -> Take it
        #FIND#= #01# #ONERROR#=*STOP*
        #COMPUTECURSOR#+5
        //save beginig of string
        #PUTCURSOR#=#05#
        #FIND#=<#02# #ONERROR#=*STOP*
        // save end of the string
        #PUTCURSOR#=#04#
        // Writer Name Found
        #TAKEWORD#=#03#,#05#,#04#
        #CHECKVARIABLE#=#03#
        #STARTDELETETAGS#
        #STARTSUBSTITUTETAGS#

        //delimeter or not?
        #IF# #00#<>#36#
            //changes to delimeter string
            #STRING#=#31#=#35#
        #ENDIF#
        //add taken data to string variable (database,'delimeter',newdata)
        #STRING#=#10#=#10##31##03#
        //delimeter counter +1 (start adding it after the first loop)
        #COMPUTEVAR#=#36#=+1
        #ENDIF#
         #COMPUTECURSOR#=+10
        #GOTO#=REPEATPRODUCER1
    :ENDPRODUCER1
#TAKEPRODUCER#=#10#
#ENDPRODUCER#

//titles that has multiple writers-> "Dark Angels" (good for testing)
//complete! (updated july25)
#WRITER#
//zero
#PUT#=0#00#
//reset
#STRING#=#10#=
//"no delimeter" string
#STRING#=#31#=
//delimeter counter
#PUT#=0#36#
//delimeter
#STRING#=#35#= | 
    #STARTREADWEB#
    // if didn't found this string, the writer isn't present
    #FINDLINE#= - Writer#12##ONERROR#=*STOP*
    :REPEATWRITER1
        #FIND#= - Writer#12##ONERROR#=*OK*
        #IF# #00#==#12#
            #GOTO#=ENDTAKEWRITER1
        #ENDIF#
        #PUTCURSOR#=#15#
        // going back for take the name
        #COMPUTECURSOR#=-40
        // Writer Found -> Take it
        #FIND#= #01# #ONERROR#=*STOP*
        #COMPUTECURSOR#+5
        //save beginig of string
        #PUTCURSOR#=#05#
        #FIND#=<#02# #ONERROR#=*STOP*
        // save end of the string
        #PUTCURSOR#=#04#
        // Writer Name Found
        #TAKEWORD#=#03#,#05#,#04#
        #CHECKVARIABLE#=#03#
        #STARTDELETETAGS#
        #STARTSUBSTITUTETAGS#

        //delimeter or not?
        #IF# #00#<>#36#
            //changes to delimeter string
            #STRING#=#31#=#35#
        #ENDIF#
        //add taken data to string variable (database,'delimeter',newdata)
        #STRING#=#10#=#10##31##03#
        //delimeter counter +1 (start adding it after the first loop)
        #COMPUTEVAR#=#36#=+1
        #ENDIF#
         #COMPUTECURSOR#=+10
        #GOTO#=REPEATWRITER1
    :ENDTAKEWRITER1
#TAKEWRITER#=#10#
#ENDWRITER#


//complete! (take exact release date)works but its DISABLED! july25
#CUSTOMINFO#
#STARTREADWEB#
    #FINDLINE#=Release Date:<#12# #ONERROR#=*STOP*
    //start of...
    #FIND#=</font>#02# #ONERROR#=*OK*
    #COMPUTEVAR#=#02#=+6
    #COMPUTECURSOR#=+6
    //end of...
    #FIND#=<#03# #ONERROR#=*OK*
    //take string
    #TAKEWORD#=#06#,#02#,#03#
#TAKECUSTOM10#=#06#
#ENDCUSTOMINFO#


//completed! updated july22 (new webdesign)
#RUNTIME#
#STARTREADWEB#
//"global"
#PUT#=0#00#
//hour counter
#PUT#=2#21#
//reset variable
#PUT#=0#05#
    #FINDLINE#=Length:#12##ONERROR#=*STOP*
//fix for N/A (no length avaitable)
    #PUT#=0#00#
    #FIND#=N/A#12# #ONERROR#=*OK*
    #IF# #00#<>#12#
        #GOTO#=EXIT-RUNTIME
    #ENDIF#

    #FIND#=Length:#01# #ONERROR#=*STOP*
    #FIND#=</font>#01# #ONERROR#=*STOP*
    #COMPUTECURSOR#=+6
    #PUTCURSOR#=#01#
//fix , shows time in minutes
    #FIND#=hrs.#02# #ONERROR#=*OK*
    //if no hours given, skip hour check...
    #IF# #00#==#02#
        //put zero hours
        #PUT#=0#04#
        //continue to check mins.
        #GOTO#=SKIP-HOUR
    #ENDIF#
    //take hours if avaitable
    #TAKEWORD#=#04#,#01#,#02#
    //delete tags etc.
    #CHECKVARIABLE#=#04#
    #STARTDELETETAGS#
    #STARTSUBSTITUTETAGS#
    //prepare for minutes
    #COMPUTEVAR#=#02#=+3
    #LOADCURSOR#=#02#
    #PUTCURSOR#=#01#
:SKIP-HOUR
    // take minutes 
    #FIND#=mins.#03# #ONERROR#=*OK*
    #TAKEWORD#=#05#,#01#,#03#
    #CHECKVARIABLE#=#05#
    #STARTDELETETAGS#
    #STARTSUBSTITUTETAGS#

 //resets variable before usage (precaution)
#PUT#=0#21#
//MAX limit , to prevent unlimited loops...
#PUT#=15#22#
:REPEAT1
    //fail safe to prevent unlimited looping if error.
    #IF# #21#>>#22#
        #STRING#=#30#=Error (infinive loop)!
        #TAKERUNTIME#=#30#
        #GOTO#=EXIT-RUNTIME
    #ENDIF#
    //loop until hours converted to minutes
    #IF# #04#<>#21#
        //adds 60 "minutes"
        #COMPUTEVAR#=#05#=+60
        //hours counter +1
        #COMPUTEVAR#=#21#=+1
    #ENDIF#
    //check up on counter, if different than. loop again.
    #IF# #04#<>#21#
        #GOTO#=REPEAT1

    #ENDIF#
    //build string to import (mins.)
    #STRING#=#23#=#05# mins.
//end of fix...

    #TAKERUNTIME#=#23#
:EXIT-RUNTIME
#ENDRUNTIME#

//completed!
#RATING#
#STARTREADWEB#
    #FINDLINE#=Rating:#12##ONERROR#=*STOP*
    #FINDLINE#=out of 5#12##ONERROR#=*STOP*
    #FIND#=out of 5#01# #ONERROR#=*STOP*

    #COMPUTECURSOR#=-10
    #FIND#=>#01# #ONERROR#=*STOP*
    #PUTCURSOR#=#01#
    #FIND#= out of 5<#02# #ONERROR#=*STOP*
    #TAKEWORD#=#03#,#01#,#02#
    #CHECKVARIABLE#=#03#
    #STARTDELETETAGS#
    #STARTSUBSTITUTETAGS#
    //build string
    #STRING#=#04#=#03# / 5
#TAKERATING#=#04#
#ENDRATING#

#POSTER#

    #PUT#=0#12#
    #PUT#=0#05#
    #PUT#=0#02#
    #PUT#=0#04#
    #STARTREADWEB#
    #FINDLINE#=http://images.dvdempire.com/res/movies/#12##ONERROR#=*STOP*
    #SETCURSOR#=1
    #FIND#="http://images.dvdempire.com/res/movies/#05##ONERROR#=*STOP*
    #COMPUTECURSOR#=+39     
    #PUTCURSOR#=#05#
    #FIND#=.jpg"#02# #ONERROR#=*STOP*
    #TAKEWORD#=#03#,#05#,#02#     
    #STRING#=#04#=http://images.dvdempire.com/res/movies/#03#h.jpg
    #TAKEPOSTER#=#04#
    #STRING#=#04#=http://images.dvdempire.com/res/movies/#03#bh.jpg
    #TAKEPOSTER#=#04#

#ENDPOSTER#


//new, completed! (updated data july31)
#AWARDS#
//zero
#PUT#=0#00#
//reset
#STRING#=#10#=
//awards counter
#PUT#=0#11#

#STARTREADWEB#
    #PUT#=0#00#
    //find the browse section
    #FINDLINE#=>Browse<#12# #ONERROR#=*STOP*
    //category found?
    #FINDLINE#="/exec/v1_category.asp?cat_ref_id=#12# #ONERROR#=*STOP*
    //save first match loc.(this is where cursor will be reseted on every cat_ref search)
    #FIND#=cat_ref_id=#13# #ONERROR#=*OK*
#PUT#=0#20#
//first the check <awardname> awards then if exists find which award(s)


//AVN
 #FIND#=cat_ref_id=26960#12# #ONERROR#=*OK*
 #IF# #00#==#12#
    #GOTO#=SKIPAVN
 #ENDIF#
    #STRING#=#06#=AVN Awards:#NEWLINE#
    #STRING#=#10#=#10##06#
    //add 1 to awards counter
    #COMPUTEVAR#=#11#=+1


 #LOADCURSOR#=#13#
//AVN AWARDS DATABASE
Generated code (Awards):
 -----------------------------------------
 //Best DVD
 #FIND#=cat_ref_id=26961#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best DVD#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Interactive DVD
 #FIND#=cat_ref_id=26962#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Interactive DVD#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best DVD Extras
 #FIND#=cat_ref_id=26963#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best DVD Extras#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Classic DVD
 #FIND#=cat_ref_id=26964#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Classic DVD#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best All Sex DVD
 #FIND#=cat_ref_id=26965#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best All Sex DVD#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best DVD Packaging
 #FIND#=cat_ref_id=26966#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best DVD Packaging#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best DVD Menus
 #FIND#=cat_ref_id=26967#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best DVD Menus#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //END OF AVN AWARDS DATABASE
:SKIPAVN

//EMPIRE
 #FIND#=cat_ref_id=26968#12# #ONERROR#=*OK*
//if found add award header...
 #IF# #00#==#12#
    #GOTO#=SKIPEMPIRE
 #ENDIF#

    //if award counter is other than 0, add line break and reset counter.
    #IF# #00#<>#11#
        //line break between award
        #STRING#=#06#=#NEWLINE#
        #STRING#=#10#=#10##06#
        //reset award counter
        #PUT#=0#11#
    #ENDIF#

    #STRING#=#06#=EMPIRE Awards:#NEWLINE#
    #STRING#=#10#=#10##06#
    //add 1 to awards counter
    #COMPUTEVAR#=#11#=+1



 #LOADCURSOR#=#13#

 //EMPIRE DATABASE
 Generated code (Awards):
 -----------------------------------------
 //Best Overall DVD
 #FIND#=cat_ref_id=26969#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Overall DVD#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Viewer's Choice Award
 #FIND#=cat_ref_id=26970#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Viewer's Choice Award#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Feature
 #FIND#=cat_ref_id=26971#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Feature#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best All Sex
 #FIND#=cat_ref_id=26972#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best All Sex#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Interactive
 #FIND#=cat_ref_id=26973#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Interactive#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Gonzo
 #FIND#=cat_ref_id=26974#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Gonzo#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Extras
 #FIND#=cat_ref_id=26975#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Extras#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Classic
 #FIND#=cat_ref_id=26976#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Classic#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Video Quality
 #FIND#=cat_ref_id=26977#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Video Quality#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Fetish
 #FIND#=cat_ref_id=26978#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Fetish#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Gay
 #FIND#=cat_ref_id=26979#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Gay#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Selling DVD
 #FIND#=cat_ref_id=26980#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Selling DVD#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Audio Quality
 #FIND#=cat_ref_id=26992#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Audio Quality#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best DVD Commentary
 #FIND#=cat_ref_id=26993#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best DVD Commentary#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best DVD Menus
 #FIND#=cat_ref_id=26994#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best DVD Menus#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Best Foreign
 #FIND#=cat_ref_id=26995#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Best Foreign#NEWLINE#
 #STRING#=#10#=#10##06#
 #ENDIF#
 #LOADCURSOR#=#13#
 //END OF EMPIRE DATABASE
:SKIPEMPIRE

//check if any awards taken (using the counter)
 #IF# #00#<>#11#
    //take/import the constructed string
    #TAKEAWARDS#=#10#
 #ENDIF#

#ENDAWARDS#


//completed! (updated july 14 2003)
#GENRE# //(named as category at adultdvdempire.com, use Category code generator...)
#STARTREADWEB#
    #PUT#=0#00#
    //find the browse section (start of read)
    #FINDLINE#=>Browse<#12# #ONERROR#=*STOP*
    //if any category not found, exit. else take category.
    #FINDLINE#=href="/exec/v1_category.asp?cat_ref_id=#12# #ONERROR#=*STOP*
    //save first match loc.(this is where cursor will be reseted on every cat_ref search)
    #FIND#=cat_ref_id=#13# #ONERROR#=*OK*

//start searching categories one by one (DVD-category ids)
 -----------------------------------------
//DATABASE
Genre generated code:
 -----------------------------------------
 //All Sex
 #FIND#=cat_ref_id=96#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=All Sex
 #TAKEGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Compilation
 #FIND#=cat_ref_id=100#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Compilation
 #TAKEGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Feature
 #FIND#=cat_ref_id=97#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Feature
 #TAKEGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Fetish
 #FIND#=cat_ref_id=99#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Fetish
 #TAKEGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Gonzo
 #FIND#=cat_ref_id=98#12# #ONERROR#=*OK*
 #IF# #00#<>#12#

 #STRING#=#06#=Gonzo
 #TAKEGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Interactive
 #FIND#=cat_ref_id=101#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Interactive
 #TAKEGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //R-Rated
 #FIND#=cat_ref_id=514#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=R-Rated
 #TAKEGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#

 -----------------------------------------
//END OF DATABASE

#ENDGENRE#

#SUBGENRE# //genre updated july 14 2003 (subcategory)
#STARTREADWEB#
    #PUT#=0#00#
    //find the browse section
    #FINDLINE#=>Browse<#12# #ONERROR#=*STOP*
    //category found?
    #FINDLINE#=href="/exec/v1_category.asp?cat_ref_id=#12# #ONERROR#=*STOP*
    //save first match loc.(this is where cursor will be reseted on every cat_ref search)
    #FIND#=cat_ref_id=#13# #ONERROR#=*OK*
//DATABASE

//start searching categories one by one (DVD-genre-cat_ref_id numbers)
  -----------------------------------------
 //All Girl
 #FIND#=cat_ref_id=103#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=All Girl
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Amateur
 #FIND#=cat_ref_id=104#12# #ONERROR#=*OK*
 #IF# #00#<>#12#

 #STRING#=#06#=Amateur
 #TAKESUBGENRE#=#06#
 #ENDIF#

 #LOADCURSOR#=#13#
 -----------------------------------------
 //Anal
 #FIND#=cat_ref_id=105#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Anal
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Asian
 #FIND#=cat_ref_id=106#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Asian
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Black
 #FIND#=cat_ref_id=108#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Black
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Beach/Wet
 #FIND#=cat_ref_id=107#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Beach/Wet
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Blowjobs
  #FIND#=cat_ref_id=119#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Blowjobs
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Busty
 #FIND#=cat_ref_id=110#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Busty
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Classic
 #FIND#=cat_ref_id=109#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Classic
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Cumshots
 #FIND#=cat_ref_id=111#12# #ONERROR#=*OK*
 #IF# #00#<>#12#  #STRING#=#06#=Cumshots
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Foot/Leg
 #FIND#=cat_ref_id=525#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Foot/Leg
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Foreign
 #FIND#=cat_ref_id=112#12# #ONERROR#=*OK*
 #IF# #00#<>#12#

 #STRING#=#06#=Foreign
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Gangbang
 #FIND#=cat_ref_id=113#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Gangbang
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Interracial
 #FIND#=cat_ref_id=114#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Interracial
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Latin
 #FIND#=cat_ref_id=26083#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Latin

 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Letterboxed
 #FIND#=cat_ref_id=31161#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Letterboxed
 #TAKESUBGENRE#=#06#
 #ENDIF#

 #LOADCURSOR#=#13#
 -----------------------------------------
 //Magazine
 #FIND#=cat_ref_id=115#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Magazine

 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Masturbation
 #FIND#=cat_ref_id=116#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Masturbation
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Multi-Angle
 #FIND#=cat_ref_id=214#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Multi-Angle
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Oral
 #FIND#=cat_ref_id=528#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Oral
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
  -----------------------------------------
 //Orgy
 #FIND#=cat_ref_id=118#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Orgy
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Threesome
 #FIND#=cat_ref_id=7323#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Threesome


 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Straight
 #FIND#=cat_ref_id=120#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Straight
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Strippers
 #FIND#=cat_ref_id=529#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Strippers
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Voyeurism
 #FIND#=cat_ref_id=530#12# #ONERROR#=*OK*

 #IF# #00#<>#12#
 #STRING#=#06#=Voyeurism
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Young Ladies
 #FIND#=cat_ref_id=26679#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Young Ladies
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 Generated code:

 -----------------------------------------
 //All Girl
 #FIND#=cat_ref_id=197#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=All Girl
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Amateur
 #FIND#=cat_ref_id=198#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Amateur
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Anal
 #FIND#=cat_ref_id=199#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Anal
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Anime
 #FIND#=cat_ref_id=200#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Anime
 #TAKESUBGENRE#=#06#
 #ENDIF#
  #LOADCURSOR#=#13#
 -----------------------------------------
 //Asian
 #FIND#=cat_ref_id=201#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Asian
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //BBW
 #FIND#=cat_ref_id=522#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=BBW
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //BiSexual
 #FIND#=cat_ref_id=540#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=BiSexual
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Black
 #FIND#=cat_ref_id=202#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Black
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Busty
 #FIND#=cat_ref_id=541#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Busty
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Classic
 #FIND#=cat_ref_id=542#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Classic
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Cumshots
 #FIND#=cat_ref_id=203#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Cumshots
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Foreign
 #FIND#=cat_ref_id=204#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Foreign
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Gangbang
 #FIND#=cat_ref_id=205#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Gangbang
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Gonzo
 #FIND#=cat_ref_id=543#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Gonzo
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Interracial
 #FIND#=cat_ref_id=206#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Interracial
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Latin
 #FIND#=cat_ref_id=26082#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Latin
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Letterboxed
 #FIND#=cat_ref_id=31591#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Letterboxed
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Masturbation
 #FIND#=cat_ref_id=207#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Masturbation
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Multi-Angle
 #FIND#=cat_ref_id=218#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Multi-Angle
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Oddities
 #FIND#=cat_ref_id=544#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Oddities
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Oral
 #FIND#=cat_ref_id=7325#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Oral
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Orgy
 #FIND#=cat_ref_id=27176#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Orgy
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //S/M
 #FIND#=cat_ref_id=7326#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=S/M
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Sampler
 #FIND#=cat_ref_id=545#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Sampler
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Straight
 #FIND#=cat_ref_id=546#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Straight
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Stripping
 #FIND#=cat_ref_id=547#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Stripping
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Squirting
 #FIND#=cat_ref_id=7327#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Squirting
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Transsexual
 #FIND#=cat_ref_id=7328#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Transsexual
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Threeways
 #FIND#=cat_ref_id=26619#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Threeways
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Voyeurism
 #FIND#=cat_ref_id=28244#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Voyeurism
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Young Ladies
 #FIND#=cat_ref_id=26682#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Young Ladies
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
Generated code:
 -----------------------------------------
 //All Girl
 #FIND#=cat_ref_id=122#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=All Girl
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Amateur
 #FIND#=cat_ref_id=516#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Amateur
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Anal
 #FIND#=cat_ref_id=124#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Anal
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Anime
 #FIND#=cat_ref_id=123#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Anime
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Asian
 #FIND#=cat_ref_id=125#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Asian
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Beach/Wet
 #FIND#=cat_ref_id=126#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Beach/Wet  #TAKESUBGENRE#=#06#
 #ENDIF#
  #LOADCURSOR#=#13#
 -----------------------------------------
 //Black
 #FIND#=cat_ref_id=127#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Black
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Bondage
 #FIND#=cat_ref_id=7331#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Bondage
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Busty
 #FIND#=cat_ref_id=128#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Busty
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Classic
 #FIND#=cat_ref_id=129#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Classic
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Cumshots
 #FIND#=cat_ref_id=130#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Cumshots
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Domination
 #FIND#=cat_ref_id=7332#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Domination
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Foreign
 #FIND#=cat_ref_id=7333#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Foreign
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Gangbang
 #FIND#=cat_ref_id=25374#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Gangbang
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Interracial
 #FIND#=cat_ref_id=131#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Interracial  #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Letterboxed
 #FIND#=cat_ref_id=31153#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Letterboxed
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Multi-Angle
 #FIND#=cat_ref_id=215#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Multi-Angle
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Oral
 #FIND#=cat_ref_id=7335#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Oral
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Orgy
 #FIND#=cat_ref_id=25483#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Orgy
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Squirting
 #FIND#=cat_ref_id=132#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Squirting
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Straight
 #FIND#=cat_ref_id=7330#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Straight
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Threesome
 #FIND#=cat_ref_id=25494#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Threesome
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Action
 #FIND#=cat_ref_id=143#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Action
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Affairs/Betrayal
 #FIND#=cat_ref_id=148#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Affairs/Betrayal
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Angry Girls
 #FIND#=cat_ref_id=141#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Angry Girls
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Award Shows
 #FIND#=cat_ref_id=25633#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Award Shows
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Brides/Weddings
 #FIND#=cat_ref_id=140#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Brides/Weddings
 #TAKESUBGENRE#=#06#
 #ENDIF#

 #LOADCURSOR#=#13#
 -----------------------------------------
 //Co-eds
 #FIND#=cat_ref_id=135#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Co-eds
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Comedy
 #FIND#=cat_ref_id=145#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Comedy
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Cops
 #FIND#=cat_ref_id=144#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Cops
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Couples
 #FIND#=cat_ref_id=136#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Couples
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Double Feature/Box Sets
 #FIND#=cat_ref_id=8046#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Double Feature/Box Sets
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Exciting Locales
 #FIND#=cat_ref_id=151#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Exciting Locales
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Fantasy
 #FIND#=cat_ref_id=137#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Fantasy
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Historical
 #FIND#=cat_ref_id=150#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Historical
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Horror
  #FIND#=cat_ref_id=8057#12# #ONERROR#=*OK*
 #IF# #00#<>#12#

  #STRING#=#06#=Horror
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Latin
 #FIND#=cat_ref_id=27254#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Latin
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Love Story
 #FIND#=cat_ref_id=152#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Love Story
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Mystery
 #FIND#=cat_ref_id=147#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Mystery
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Nurses/Doctors
 #FIND#=cat_ref_id=134#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Nurses/Doctors
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Revenge
 #FIND#=cat_ref_id=149#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Revenge
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Sci-Fi
 #FIND#=cat_ref_id=138#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Sci-Fi
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Shot-On-Film
 #FIND#=cat_ref_id=139#12# #ONERROR#=*OK*
 #IF# #00#<>#12#  #STRING#=#06#=Shot-On-Film
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Spoofs
 #FIND#=cat_ref_id=146#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Spoofs
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Strippers
 #FIND#=cat_ref_id=142#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Strippers
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Western
 #FIND#=cat_ref_id=8031#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Western
  #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Young Ladies
 #FIND#=cat_ref_id=26683#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Young Ladies
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 Generated code:
 -----------------------------------------
 //All Girl
 #FIND#=cat_ref_id=187#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=All Girl
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Amateur
 #FIND#=cat_ref_id=189#12# #ONERROR#=*OK*

 #IF# #00#<>#12#
 #STRING#=#06#=Amateur
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Anal
 #FIND#=cat_ref_id=193#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Anal
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Anime
 #FIND#=cat_ref_id=518#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Anime
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Asian
 #FIND#=cat_ref_id=188#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Asian
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Black
 #FIND#=cat_ref_id=194#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Black
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Busty
 #FIND#=cat_ref_id=190#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Busty
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Cumshots
 #FIND#=cat_ref_id=195#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Cumshots
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Gangbang
 #FIND#=cat_ref_id=535#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Gangbang
 #TAKESUBGENRE#=#06#

 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Interracial
 #FIND#=cat_ref_id=536#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Interracial
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------

 //Latin
 #FIND#=cat_ref_id=26085#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Latin
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------

 //Letterbox
 #FIND#=cat_ref_id=31973#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Letterbox
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Masturbation

 #FIND#=cat_ref_id=192#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Masturbation
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Multi-Angle
 #FIND#=cat_ref_id=217#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Multi-Angle
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Oral
 #FIND#=cat_ref_id=191#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Oral
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //R-Rated
 #FIND#=cat_ref_id=537#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=R-Rated
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Straight
 #FIND#=cat_ref_id=538#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Straight
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //BBW
 #FIND#=cat_ref_id=21915#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=BBW
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Bondage
 #FIND#=cat_ref_id=169#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Bondage
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Domination
 #FIND#=cat_ref_id=170#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Domination
 #TAKESUBGENRE#=#06#

 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Double Feature/Box Set
 #FIND#=cat_ref_id=8472#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Double Feature/Box Set
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Enema
 #FIND#=cat_ref_id=171#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Enema

 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Foot/Leg
 #FIND#=cat_ref_id=172#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Foot/Leg
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Foot/Shoe
 #FIND#=cat_ref_id=173#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Foot/Shoe
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Hairy
 #FIND#=cat_ref_id=174#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Hairy
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Lactation
 #FIND#=cat_ref_id=175#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Lactation
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Midget
 #FIND#=cat_ref_id=186#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Midget
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#

 -----------------------------------------
 //Oddities
 #FIND#=cat_ref_id=176#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Oddities
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Older Men
 #FIND#=cat_ref_id=21974#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Older Men
 #TAKESUBGENRE#=#06#
 #ENDIF#
  #LOADCURSOR#=#13#
 -----------------------------------------
 //Older Women
 #FIND#=cat_ref_id=178#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Older Women
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Penetrations
 #FIND#=cat_ref_id=9217#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Penetrations
 #TAKESUBGENRE#=#06#

 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Pregnant
 #FIND#=cat_ref_id=179#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Pregnant
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //S/M
 #FIND#=cat_ref_id=180#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=S-M
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Smoking
 #FIND#=cat_ref_id=26547#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Smoking
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Spanking
 #FIND#=cat_ref_id=181#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Spanking
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Squirting
 #FIND#=cat_ref_id=182#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Squirting
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Tickling
 #FIND#=cat_ref_id=185#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Tickling
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Transsexual
 #FIND#=cat_ref_id=183#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Transsexual
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Voyeurism
 #FIND#=cat_ref_id=184#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Voyeurism
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Wrestling/Fighting
 #FIND#=cat_ref_id=177#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Wrestling/Fighting
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
Generated code:

 -----------------------------------------  //All Girl
 #FIND#=cat_ref_id=515#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=All Girl
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Amateur
 #FIND#=cat_ref_id=507#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Amateur
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Anal

 #FIND#=cat_ref_id=155#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Anal
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Asian
 #FIND#=cat_ref_id=156#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Asian
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Beach/Wet
 #FIND#=cat_ref_id=523#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Beach/Wet
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Black
 #FIND#=cat_ref_id=157#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Black
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Busty
 #FIND#=cat_ref_id=158#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Busty
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Co-ed
 #FIND#=cat_ref_id=8456#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Co-ed
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Cumshots
 #FIND#=cat_ref_id=159#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Cumshots
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Exciting Locals
 #FIND#=cat_ref_id=165#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Exciting Locals
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Foot/Leg
 #FIND#=cat_ref_id=25312#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Foot/Leg
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Foreign
 #FIND#=cat_ref_id=160#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Foreign
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Gangbang
 #FIND#=cat_ref_id=161#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Gangbang

 #TAKESUBGENRE#=#06#

 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Interracial
 #FIND#=cat_ref_id=162#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Interracial
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Latin
 #FIND#=cat_ref_id=26084#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Latin
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Masturbation
 #FIND#=cat_ref_id=7337#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Masturbation
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Multi-Angle
 #FIND#=cat_ref_id=216#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Multi-Angle
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Oral
 #FIND#=cat_ref_id=531#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Oral
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Straight
 #FIND#=cat_ref_id=164#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Straight
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Squirting
 #FIND#=cat_ref_id=163#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Squirting
 #TAKESUBGENRE#=#06#
 #ENDIF#  #LOADCURSOR#=#13#
 -----------------------------------------
 //Threesome
 #FIND#=cat_ref_id=26072#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Threesome
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Young Ladies
 #FIND#=cat_ref_id=26684#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Young Ladies
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Home Made Movies
 #FIND#=cat_ref_id=32050#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Home Made Movies
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 Generated code:
 -----------------------------------------
 //All Girl
 #FIND#=cat_ref_id=31150#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=All Girl
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Asian
 #FIND#=cat_ref_id=209#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Asian
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Foreign
 #FIND#=cat_ref_id=29001#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Foreign
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Game
 #FIND#=cat_ref_id=210#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Game
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Multi-Angle
 #FIND#=cat_ref_id=211#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Multi-Angle
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Oral
 #FIND#=cat_ref_id=7338#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Oral
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //R-Rated
 #FIND#=cat_ref_id=549#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=R-Rated
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Straight
 #FIND#=cat_ref_id=212#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Straight
 #TAKESUBGENRE#=#06#

 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Transsexual  #FIND#=cat_ref_id=29019#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Transsexual
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------

 //Fantasex

 #FIND#=cat_ref_id=25673#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Fantasex
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Diva X
 #FIND#=cat_ref_id=25731#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Diva X
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //My Digi-Girl
 #FIND#=cat_ref_id=32734#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=My Digi-Girl
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //My Plaything
 #FIND#=cat_ref_id=25730#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=My Plaything
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Sinfully Yours

 #FIND#=cat_ref_id=25732#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Sinfully Yours
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Virtual Pornstar
 #FIND#=cat_ref_id=25733#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Virtual Pornstar
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Virtual Sex
 #FIND#=cat_ref_id=213#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Virtual Sex
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Virtual Vivid
 #FIND#=cat_ref_id=25728#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Virtual Vivid
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
Generated code:
 -----------------------------------------
 //All Girl
 #FIND#=cat_ref_id=7152#12# #ONERROR#=*OK*
 #IF# #00#<>#12#

 #STRING#=#06#=All Girl
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#

 -----------------------------------------
 //Amateur
 #FIND#=cat_ref_id=7153#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Amateur
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Asian
 #FIND#=cat_ref_id=7154#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Asian
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //BBW
 #FIND#=cat_ref_id=7155#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=BBW
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Beach/Wet
 #FIND#=cat_ref_id=7156#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Beach/Wet
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Black

 #FIND#=cat_ref_id=7157#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Black
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Busty
 #FIND#=cat_ref_id=7158#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Busty
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Classic
 #FIND#=cat_ref_id=7159#12# #ONERROR#=*OK*
 #IF# #00#<>#12#

 #STRING#=#06#=Classic
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Compilation
 #FIND#=cat_ref_id=7160#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Compilation
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Foreign
 #FIND#=cat_ref_id=7161#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Foreign
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Multi-Angle
 #FIND#=cat_ref_id=7163#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Multi-Angle
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Playboy
 #FIND#=cat_ref_id=7164#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Playboy
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //R-Rated
 #FIND#=cat_ref_id=7165#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=R-Rated
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Straight
 #FIND#=cat_ref_id=7166#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Straight
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Stripping
 #FIND#=cat_ref_id=7167#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Stripping
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Voyeurism
 #FIND#=cat_ref_id=7168#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Voyeurism
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Highest Rated
 #FIND#=cat_ref_id=26987#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Higuest Rated
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //Anamorphic 16:9
 #FIND#=cat_ref_id=31160#12# #ONERROR#=*OK*
 #IF# #00#<>#12#
 #STRING#=#06#=Anamorphic 16:9
 #TAKESUBGENRE#=#06#
 #ENDIF#
 #LOADCURSOR#=#13#
 -----------------------------------------
 //end of database
#ENDSUBGENRE#



#DELETETAGS#
    //fix for "studio" tag clearing ( the "i" char issue)
    #DELETEWORD#=<font color="white">i</font>
    #DELETEWORD#=   
    #DELETEWORD#=<b>
    #DELETEWORD#=</b>
    #DELETEWORD#=<i>
    #DELETEWORD#=</i>
    #DELETEWORD#= 
    #DELETEWORD#= 
    #DELETEWORD#=</br>
    //fixed (moved <BR> and <br> to substituteword)
    #DELETEWORD#=</BR>
    #DELETEWORD#=</P>
    #DELETEWORD#=</BLOCKQUOTE>
    #DELETEWORD#=<font face="Arial" size="2">
    #DELETEWORD#=</font>
    //fixes
    #DELETEWORD#=<font face="verdana, arial, sans-serif" size="-1" color="#ffffff
    #DELETEWORD#= - Producer
    #DELETEWORD#= - Writer
#ENDDELETETAGS#

#SUBSTITUTETAGS#    //fixes
    #SUBSTITUTEWORD#=<BR><BR>=#NEWLINE#
    #SUBSTITUTEWORD#=<br><br>=#NEWLINE#
    #SUBSTITUTEWORD#=<BR>=#NEWLINE#
    #SUBSTITUTEWORD#=<br>=#NEWLINE#
    #SUBSTITUTEWORD#=…=...
    #SUBSTITUTEWORD#=">i= 
    #SUBSTITUTEWORD#=#149;=
    #SUBSTITUTEWORD#=&=&
    #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;=a
    #SUBSTITUTEWORD#=#225;=á
    #SUBSTITUTEWORD#=#226;=G
    #SUBSTITUTEWORD#=#227;=p
    #SUBSTITUTEWORD#=#228;=S
    #SUBSTITUTEWORD#=#229;=s
    #SUBSTITUTEWORD#=#230;=æ
    #SUBSTITUTEWORD#=#231;=t
    #SUBSTITUTEWORD#=#232;=F
    #SUBSTITUTEWORD#=#233;=T
    #SUBSTITUTEWORD#=#234;=O
    #SUBSTITUTEWORD#=#235;=d
    #SUBSTITUTEWORD#=#236;=8
    #SUBSTITUTEWORD#=#237;=f
    #SUBSTITUTEWORD#=#238;=e
    #SUBSTITUTEWORD#=#239;=n
    #SUBSTITUTEWORD#=#240;==
    #SUBSTITUTEWORD#=#241;=ñ
    #SUBSTITUTEWORD#=#242;==
    #SUBSTITUTEWORD#=#243;==
    #SUBSTITUTEWORD#=#244;=(
    #SUBSTITUTEWORD#=#245;=)
    #SUBSTITUTEWORD#=#246;=ö
    #SUBSTITUTEWORD#=#247;=~
    #SUBSTITUTEWORD#=#248;=ø
    #SUBSTITUTEWORD#=#249;=ú
    #SUBSTITUTEWORD#=#250;=ú
    #SUBSTITUTEWORD#=#251;=v
    #SUBSTITUTEWORD#=#252;=n
    #SUBSTITUTEWORD#=#253;=ý
    #SUBSTITUTEWORD#=#254;=Ý
    #SUBSTITUTEWORD#=#255;=ÿ
#ENDSUBSTITUTETAGS#




I'll keep working on that script as I find problems, since I am about to start cataloguing a larger collection.

Kind reagrds and a happy new year,
carfesh
Go to Top of Page

carfesh
Starting Member

Germany
18 Posts

Posted - 01 Jan 2006 :  12:14:40  Show Profile  Edit Reply  Send carfesh an AOL message  Send carfesh an ICQ Message  Send carfesh a Yahoo! Message  Reply with Quote  View user's IP address  Delete Reply
I just noticed BTW that when searching for girls, girls, girls the result is not in the first 100 search results; doing the search on the homepage directly t's the fifth result, but it seems the , in the title is not correctly translated to %2C in the query URL and thus ignored in the search (though I may be wrong about that).

I'm still learning the script language, so I'm not sure if there is a way to maybe substitute the , by %2C before sending the search query. I'll try and see if I find a way around that problem.
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 01 Jan 2006 :  12:35:20  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I the mantime I have make some changes to the Scripts, so the search should work correctly now.

I have upload the scripts in the server, you can use the ONLINE Mode to download it.

@Carfesh : Good work! You have learned Script's Engine in really little time!
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.27 sec. Powered By: Snitz Forums 2000 Version 3.4.07