![]() |
|
|||||||
| Scraper Development Developers forum for meta data scrapers. Scraper developers only! Not for posting feature requests, bugs, or end-user support requests! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Skilled Skinner
Join Date: Jul 2008
Posts: 56
![]() |
Code:
<GetDetails>
<RegExp input="$$1" output="<url function="GMA">http://api.themoviedb.org/2.0/Movie.search?title=\1&api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5+">
<expression><span style="font-size:13px;color:#666">([^<]+)</span></expression>
</RegExp>
<RegExp input="$$1" output="<url cache="KinoPoisk_opa.html" function="GetFanart">http://www.kinopoisk.ru/</url>" dest="5+">
<expression></expression>
</RegExp>
<expression noclean="1"></expression>
</RegExp>
</GetDetails>
<GMA dest="10">
<RegExp input="$$1" output="<url function="GMFFS">http://www.themoviedb.org/movie/\1/backdrops</url>" dest="5+">
<expression><id>([^"]+)</id></expression>
</RegExp>
</GMA>
<GMFFS dest="7" clearbuffers="no">
<RegExp input="$$1" output="<thumb>http://www.themoviedb.org/image/backdrops/\1</thumb>" dest="6+">
<expression repeat="yes" noclean="1"><a href="/image/backdrops/([^"]+)"</expression>
</RegExp>
</GMFFS>
<GetFanart dest="5">
<RegExp input="$$6" output="<details><fanart>\1</fanart></details>" dest="5">
<expression noclean="1"></expression>
</RegExp>
</GetFanart>
Not work! Why? Empty.
|
|
|
|
|
|
#2 |
|
Grumpy Bastard Developer
Join Date: Nov 2003
Posts: 7,715
![]() |
apart from the obvious errors; (missing tags, missing expressions);
you are writing xml so you have to escape special chars. in addition you are outputting xml so you have to escape chars yet another time; in particular Code:
<RegExp input="$$1" output="<url function="GMA">http://api.themoviedb.org/2.0/Movie.search?title=\1&api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5+"> Code:
<RegExp input="$$1" output="<url function="GMA">http://api.themoviedb.org/2.0/Movie.search?title=\1&amp;api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5+"> hint; open the xml in e.g. firefox. it will tell you exactly where the error is at
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. Last edited by spiff; 2009-02-25 at 14:51. |
|
|
|
|
|
#3 |
|
Skilled Skinner
Join Date: Jul 2008
Posts: 56
![]() |
Thank you. It really works.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|