Author Topic: Script : List site in Url  (Read 5848 times)

0 Members and 1 Guest are viewing this topic.

Offline pra15

  • Older Power User
  • *****
  • Posts: 173
    • View Profile
Script : List site in Url
« on: November 11, 2020, 05:27:03 pm »
If you use different urls for the same movie the script returns the list of the different sites.

Options :
IF_XML :    If True :The script use AddFielValueXml to return the value.
         If False : The Script use AddFieldValue to return the value.
         
USUALS_SITES :    Adapt to your choices. It's the list of site you often use. Keep always Others at the end of the list.
            The script search values in this list for the left to right, so the result return always a left value first if found.
            If the site is not found in the list he is put at the end of the result.
            ex : http://www.imdb.com.aaaaaa https://www.blabla.ru.fgfgfg https://www.filmaffinity.com.ttttt
               -give : Imdb / FilmAffinity / Blabla if the list is 'imdb,filmaffinity,others'
               -give : FilmAffinity / Imdb / Blabla if the list is 'filmaffinity,imdb,others'
               
KEEP_DUPLICATES :   - If true The result contain several value of the same site.
               - If false only one is present on thr result.
               ex: http://www.imdb.com.aaaaaa http://www.filmaffinity.com.fffff http://www.imdb.com.bbbbb
                  - give : Imdb / Imdb / FilmAffinity if true (with imdb at left of filmaffinity in list)
                  - give : Imdb / FilmAffinity if false.
               To Keep true can be useful to find duplicate or ancient urls no longer use.
               
DESTINATION_XML & DESTINATION_INT : You can choose the destination field of the result with the name or integer value.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Script : List site in Url
« Reply #1 on: November 11, 2020, 06:19:10 pm »
Nice. Topic is sticky.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD