diff options
author | theuni <theuni-nospam-@xbmc.org> | 2011-12-10 23:43:34 -0500 |
---|---|---|
committer | theuni <theuni-nospam-@xbmc.org> | 2011-12-10 23:43:34 -0500 |
commit | a09873061b8c79c8fb81b7e0326b718872abbcfe (patch) | |
tree | 8f1bfbb516f4f4cfe5b7e3c88a817567ba291149 /addons/metadata.common.hdtrailers.net | |
parent | 5e400fbb8ba1836881596ac7dcd3f39a38eac622 (diff) |
sync: hdtrailers with addons repo
Diffstat (limited to 'addons/metadata.common.hdtrailers.net')
-rw-r--r-- | addons/metadata.common.hdtrailers.net/addon.xml | 10 | ||||
-rw-r--r-- | addons/metadata.common.hdtrailers.net/hdtrailers.xml | 30 |
2 files changed, 19 insertions, 21 deletions
diff --git a/addons/metadata.common.hdtrailers.net/addon.xml b/addons/metadata.common.hdtrailers.net/addon.xml index d6e9f4847c..55ad80c9b9 100644 --- a/addons/metadata.common.hdtrailers.net/addon.xml +++ b/addons/metadata.common.hdtrailers.net/addon.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="metadata.common.hdtrailers.net" name="HD-Trailers common scraper functions" - version="1.0.4" + version="1.0.6" provider-name="Bence Nádas (olympia)"> <requires> <import addon="xbmc.metadata" version="1.0"/> @@ -14,22 +14,20 @@ <summary lang="es">Scraper de Trailers de HD-Trailers.net</summary> <summary lang="fr">Scraper HD-Trailers.net pour les bande-annonces</summary> <summary lang="hu">HD-Trailers.net leolvasó-könyvtár</summary> - <summary lang="nl">HTBackdrops-scraperfuncties</summary> - <summary lang="pl">Scraper biblioteki HD-Trailers.net</summary> + <summary lang="nl">HD-Trailers.net Scraper Collectie</summary> + <summary lang="pl">Scraper zwiastunów HD-Trailers.net</summary> <summary lang="pt">Scraper de trailers de HD-Trailers.net</summary> <summary lang="ru">Обработчик для трейлеров с HD-Trailers.net</summary> - <summary lang="se">Skrapa för trailers från HD-Trailers.net</summary> <summary lang="zh">HD-Trailers.net刮削器代码库</summary> <description lang="en">Download Movie Trailers from www.hd-trailers.net</description> <description lang="de">Downloade Trailer von www.hd-trailers.net</description> <description lang="es">Descarga trailers de www.hd-trailers.net</description> <description lang="fr">Télécharge les bande-annonces de films depuis www.hd-trailers.net</description> <description lang="hu">Filmelőzetesek letöltése a www.hd-trailers.net-ről</description> - <description lang="nl">Achtergronden ophalen van www.htbackdrops.com</description> + <description lang="nl">Download trailers van www.hd-trailers.net</description> <description lang="pl">Pobieraj zwiastuny filmowe z www.hd-trailers.net</description> <description lang="pt">Descarregar trailers de www.hd-trailers.net</description> <description lang="ru">Загружать трейлеры с www.hd-trailers.net</description> - <description lang="se">Ladda ner trailers från www.hd-trailers.net</description> <description lang="zh">从www.hd-trailers.net下载电影预告片</description> <minversion>20000</minversion> <platform>all</platform> diff --git a/addons/metadata.common.hdtrailers.net/hdtrailers.xml b/addons/metadata.common.hdtrailers.net/hdtrailers.xml index 1c1aadccd7..c898ba3c32 100644 --- a/addons/metadata.common.hdtrailers.net/hdtrailers.xml +++ b/addons/metadata.common.hdtrailers.net/hdtrailers.xml @@ -1,24 +1,24 @@ <scraperfunctions> <GetHDTrailersnet480p dest="3"> - <RegExp input="$$6" output="<details><url function="Parse480pTrailer">http://www.hd-trailers.net/blog/?s="\1%20%28Theatrical%20Trailer%29%22</url></details>" dest="3"> - <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1" fixchars="1" trim="1" encode="1">(.*)</expression> + <RegExp input="$$6" output="<details><url function="Parse480pTrailer" cache="hd-trailers-\1.xml">http://xbmc.hd-trailers.net/movie/\1</url></details>" dest="3"> + <RegExp input="$$1" output="\1-" dest="6"> + <expression repeat="yes" fixchars="1" trim="1">([\w]+)</expression> </RegExp> <expression noclean="1" /> </RegExp> </GetHDTrailersnet480p> <GetHDTrailersnet720p dest="3"> - <RegExp input="$$6" output="<details><url function="Parse720pTrailer">http://www.hd-trailers.net/blog/?s="\1%20%28Theatrical%20Trailer%29%22</url></details>" dest="3"> - <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1" fixchars="1" trim="1" encode="1">(.*)</expression> + <RegExp input="$$6" output="<details><url function="Parse720pTrailer" cache="hd-trailers-\1.xml">http://xbmc.hd-trailers.net/movie/\1</url></details>" dest="3"> + <RegExp input="$$1" output="\1-" dest="6"> + <expression repeat="yes" fixchars="1" trim="1">([\w]+)</expression> </RegExp> <expression noclean="1" /> </RegExp> </GetHDTrailersnet720p> <GetHDTrailersnet1080p dest="3"> - <RegExp input="$$6" output="<details><url function="Parse1080pTrailer">http://www.hd-trailers.net/blog/?s="\1%20%28Theatrical%20Trailer%29%22</url></details>" dest="3"> - <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1" fixchars="1" trim="1" encode="1">(.*)</expression> + <RegExp input="$$6" output="<details><url function="Parse1080pTrailer" cache="hd-trailers-\1.xml">http://xbmc.hd-trailers.net/movie/\1</url></details>" dest="3"> + <RegExp input="$$1" output="\1-" dest="6"> + <expression repeat="yes" fixchars="1" trim="1">([\w]+)</expression> </RegExp> <expression noclean="1" /> </RegExp> @@ -26,18 +26,18 @@ <Parse480pTrailer dest="5"> <!--Fetch 480p trailer link from hdtrailers.net--> <RegExp input="$$1" output="<details><trailer>http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=\1</trailer></details>" dest="5"> - <expression noclean="1">sid=(\d*)">480p</a></expression> + <expression noclean="1">">Trailer</td>.*?sid=(\d*)" rel="lightbox\[res480p</expression> </RegExp> </Parse480pTrailer> <Parse720pTrailer dest="5"> <RegExp input="$$6" output="<details><trailer>\1</trailer></details>" dest="5"> <!--Fallback to fetch 480p trailer link if 720p is not available--> <RegExp input="$$1" output="http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=\1" dest="6"> - <expression noclean="1">sid=(\d*)">480p</a></expression> + <expression noclean="1">">Trailer</td>.*?sid=(\d*)" rel="lightbox\[res480p</expression> </RegExp> <!--Fetch 720p trailer link from hdtrailers.net--> <RegExp input="$$1" output="http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=\1" dest="6"> - <expression noclean="1">sid=(\d*)">720p</a></expression> + <expression noclean="1">">Trailer</td>.*?sid=(\d*)" rel="lightbox\[res720p</expression> </RegExp> <expression noclean="1" /> </RegExp> @@ -46,15 +46,15 @@ <RegExp input="$$6" output="<details><trailer>\1</trailer></details>" dest="5"> <!--Fallback to fetch 480p trailer link if 720p and 1080p are not available--> <RegExp input="$$1" output="http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=\1" dest="6"> - <expression noclean="1">sid=(\d*)">480p</a></expression> + <expression noclean="1">">Trailer</td>.*?sid=(\d*)" rel="lightbox\[res480p</expression> </RegExp> <!--Fallback to fetch 720p trailer link if 1080p is not available--> <RegExp input="$$1" output="http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=\1" dest="6"> - <expression noclean="1">sid=(\d*)">720p</a></expression> + <expression noclean="1">">Trailer</td>.*?sid=(\d*)" rel="lightbox\[res720p</expression> </RegExp> <!--Fetch 1080p trailer link from hdtrailers.net--> <RegExp input="$$1" output="http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=\1" dest="6"> - <expression noclean="1">sid=(\d*)">1080p</a></expression> + <expression noclean="1">">Trailer</td>.*?sid=(\d*)" rel="lightbox\[res1080p</expression> </RegExp> <expression noclean="1" /> </RegExp> |