diff options
Diffstat (limited to 'system/scrapers/video/mymoviesdk.xml')
-rw-r--r-- | system/scrapers/video/mymoviesdk.xml | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/system/scrapers/video/mymoviesdk.xml b/system/scrapers/video/mymoviesdk.xml index 1d0fe2ab29..142e2db1dc 100644 --- a/system/scrapers/video/mymoviesdk.xml +++ b/system/scrapers/video/mymoviesdk.xml @@ -4,54 +4,52 @@ <RegExp input="$$5" output="<settings>\1</settings>" dest="3"> <!--Username--> <RegExp input="$$1" output="<setting label="Username" type="text" id="username" default=""></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <!--Password--> <RegExp input="$$1" output="<setting label="Password" type="text" option="hidden" id="password" default=""></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <!--- --> <RegExp input="$$1" output="<setting type="sep"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <!--Fanart--> <RegExp input="$$1" output="<setting label="Enable Fanart" type="bool" id="fanart" default="true"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <!--Trailer--> <RegExp input="$$1" output="<setting label="Preferred trailer bitrate" type="labelenum" values="2048|1024|512|256|128" id="trailerbitrate" default="2048"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <!--Preferred language--> <RegExp input="$$1" output="<setting label="Preferred language" type="labelenum" values="Arabic|Bulgarian|Cantonese|Mandarin|Czech|Croatian|Danish|Dutch|English|Estonian|Faroese|Farsi|Finnish|Flemish|French|German|Greek|Hebrew|Hindi|Hungarian|Icelandic|Indonesian|Italian|Japanese|Korean|Lithuanian|Norwegian|Polish|Portuguese|Romanian|Russian|Serbian|Slovakian|Slovene|Spanish|Swedish|Tagalog|Thai|Turkish|Malay|Latvian|Ukrainian|Tamil|Catalan|Telugu|Malayalam|Kannada|Bengali|Serbo-Croatian|Gujarati|Esperanto|Vietnamese|Kazakh|Ancient Greek|Mandar|Braj|Macedonian|Zulu|Twi|Volapük|Albanian|Khmer|Basque" id="language" default="English"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <!--Include adult movies--> <RegExp input="$$1" output="<setting label="Include adult movies" type="bool" id="includeadult" default="false"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <RegExp input="$$1" output="<setting type="sep"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> </GetSettings> - <CreateSearchUrl dest="3"> <RegExp input="$$1" output="<url>https://api.mymovies.dk/Default.aspx?command=SearchMovieByTitle&amp;title=\1&amp;username=$INFO[username]&amp;password=$INFO[password]&amp;PrimaryLanguage=$INFO[language]&amp;includeadult=$INFO[includeadult]&amp;locale=1033</url>" dest="3"> <RegExp input="$$2" output="%20(\1)" dest="4"> <expression clear="yes">(.+)</expression> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> </CreateSearchUrl> - <GetSearchResults dest="8"> <RegExp input="$$3" output="<results sorted="Yes">\1</results>" dest="8"> <RegExp input="$$1" output="<entity><title>\2</title><year>\3</year><id>\1</id><url>https://api.mymovies.dk/Default.aspx?command=LoadMovieById&amp;titleid=\1&amp;username=$INFO[username]&amp;password=$INFO[password]&amp;PrimaryLanguage=$INFO[language]&amp;maxtrailerbitrate=$INFO[trailerbitrate]&amp;locale=1033&amp;client=xbmcbased</url></entity>" dest="3"> <expression repeat="yes">id="(.*?)".*? title="(.*?)"[^<]*year="(.*?)" thumb</expression> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> <RegExp input="$$4" output="<error>\1</error>" dest="8"> <RegExp input="$$1" output="<title>Error returned from MyMovies.dk</title><message>\1</message>" dest="4"> @@ -60,7 +58,6 @@ <expression noclean="1">(.+)</expression> </RegExp> </GetSearchResults> - <NfoUrl dest="3"> <RegExp input="$$1" output="<url>https://api.mymovies.dk/Default.aspx?command=LoadMovieByIMDBId&imdbid=tt\2&username=$INFO[username]&password=$INFO[password]&PrimaryLanguage=$INFO[language]&includeadult=$INFO[includeadult]&maxtrailerbitrate=$INFO[trailerbitrate]&locale=1033</url>" dest="3"> <expression>(imdb.com/title/tt)([0-9]*)</expression> @@ -69,7 +66,6 @@ <expression>(imdb.com/)Title\?([0-9]+)</expression> </RegExp> </NfoUrl> - <GetDetails dest="3"> <RegExp input="$$5" output="<details>\1</details>" dest="3"> <!--Title--> @@ -182,7 +178,7 @@ <RegExp input="$$1" output="<trailer>\1</trailer>" dest="5+"> <expression><Trailer[^>]*>([^<]*)</Trailer></expression> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> </GetDetails> </scraper> |