diff options
Diffstat (limited to 'system/scrapers/video')
-rw-r--r-- | system/scrapers/video/daum.xml | 282 |
1 files changed, 185 insertions, 97 deletions
diff --git a/system/scrapers/video/daum.xml b/system/scrapers/video/daum.xml index 896c748d45..c4335ebe3d 100644 --- a/system/scrapers/video/daum.xml +++ b/system/scrapers/video/daum.xml @@ -1,187 +1,275 @@ <?xml version="1.0" encoding="UTF-8"?> -<scraper framework="1.1" date="2009-08-08" name="Daum" content="movies" thumb="daum.png" language="ko"> +<scraper framework="1.1" date="2009-12-28" name="Daum" content="movies" thumb="daum.png" language="ko"> <GetSettings dest="3"> <RegExp input="$$5" output="<settings>\1</settings>" dest="3"> <RegExp input="$$1" output="<setting label="포스터" type="bool" id="EnableThumbs" default="true"></setting>" dest="5+"> <expression/> </RegExp> - <RegExp input="$$1" output="<setting label="팬아트(고화질)" type="bool" id="EnableFanArt" default="true"></setting>" dest="5+"> + <RegExp input="$$1" output="<setting label="팬아트" type="bool" id="EnableFanart" default="true"></setting>" dest="5+"> + <expression/> + </RegExp> + <RegExp input="$$1" output="<setting label="TMDB팬아트 우선사용" type="bool" id="EnableTMDBFanart" default="false"></setting>" dest="5+"> <expression/> </RegExp> <RegExp input="$$1" output="<setting label="극작가" type="bool" id="EnableWriter" default="true"></setting>" dest="5+"> <expression/> </RegExp> + <RegExp input="$$1" output="<setting label="전체줄거리" type="bool" id="EnableFullPlot" default="true"></setting>" dest="5+"> + <expression/> + </RegExp> + <RegExp input="$$1" output="<setting label="배역 더보기" type="bool" id="EnableMoreCast" default="true"></setting>" dest="5+"> + <expression/> + </RegExp> <expression noclean="1"/> </RegExp> </GetSettings> <NfoUrl dest="3"> <RegExp input="$$1" output="<url>http://movie.daum.net/moviedetail/moviedetailMain.do?movieId=\1</url>" dest="3"> - <expression>movie\.daum\.net[^\?]*\?movieId=([0-9]*)</expression> + <expression>movie\.daum\.net[^\?]*\?movieId=(\d*)</expression> </RegExp> </NfoUrl> - <CreateSearchUrl dest="3" SearchStringEncoding="UTF-8"> - <RegExp input="$$1" output="http://movie.daum.net/search.do?type=movie&q=\1" dest="3"> + <CreateSearchUrl SearchStringEncoding="UTF-8" dest="3"> + <RegExp input="$$1" output="<url>http://movie.daum.net/search.do?type=movie&q=\1</url>" dest="3"> <expression noclean="1"/> </RegExp> </CreateSearchUrl> <GetSearchResults dest="8"> <RegExp input="$$5" output="<?xml version="1.0" encoding="UTF-8" standalone="yes"?><results>\1</results>" dest="8"> - <RegExp input="$$1" output="<entity><title>\2(\4,\3) </title><url>http://movie.daum.net/moviedetail/moviedetailMain.do?movieId=\1</url></entity>" dest="5"> - <expression repeat="yes">class="fl srch"><a href="http://movie.daum.net/moviedetail/moviedetailMain.do\?movieId=([0-9]+)"[^>]*>([^%]*)</a>[ ]*\(([0-9]+)\)</span>[^\(]*"fs13">([^"]*)</span</expression> + <RegExp input="$$1" output="<entity><title>\2</title><year>\3</year><id>\1</id><url>http://movie.daum.net/moviedetail/moviedetailMain.do?movieId=\1</url></entity>" dest="5"> + <expression clear="yes" repeat="yes">class="fl srch"><a href="http://movie.daum.net/moviedetail/moviedetailMain.do\?movieId=(\d+)"[^>]*>([^"]*)</a>\s*\((\d+)\)</span>[^\(]*"fs13">\s*</span</expression> + </RegExp> + <RegExp input="$$1" output="<entity><title>\2(\4)</title><year>\3</year><id>\1</id><url>http://movie.daum.net/moviedetail/moviedetailMain.do?movieId=\1</url></entity>" dest="5+"> + <expression repeat="yes">class="fl srch"><a href="http://movie.daum.net/moviedetail/moviedetailMain.do\?movieId=(\d+)"[^>]*>([^"]*)</a>\s*\((\d+)\)</span>[^\(]*"fs13">\s*([^"]+)</span</expression> </RegExp> <expression noclean="1"/> </RegExp> </GetSearchResults> <GetDetails dest="3"> <RegExp input="$$8" output="<details>\1</details>" dest="3"> - <!-- Titles, year !--> - <RegExp input="$$1" output="<title>\1</title><year>\2</year>" dest="8"> - <expression noclean="1">class="title_kor"[ ]*>([^<]+)</strong>[^\(]*\(.*?<?([0-9]+).*?title_AKA"[ ]*>[ \n]*<span class="eng">[ \n]*</span</expression> + <RegExp input="$$2" output="<id>\1</id>" dest="8"> + <expression/> + </RegExp> + <RegExp input="$$1" output="<title>\1</title><year>\2</year>" dest="8+"> + <expression trim="1">"title_kor"\s*>([^<]+)</strong>[^\(]*\(<a [^>]*>(\d+)</a>\).*?"title_AKA"\s*>\s*<span class="eng">\s*</span</expression> </RegExp> - <RegExp input="$$1" output="<title>\1 (\3)</title><year>\2</year>" dest="8"> - <expression noclean="1">class="title_kor"[ ]*>([^<]+)</strong>[^\(]*\(.*?<?([0-9]+).*?title_AKA"[ ]*>[ \n]*<span class="eng">[ \n]*([^ \n][^<]*)</span</expression> + <RegExp input="$$1" output="<title>\1 (\3)</title><year>\2</year>" dest="8+"> + <expression trim="1,3">"title_kor"\s*>([^<]+)</strong>[^\(]*\(<a [^>]*>(\d+)</a>\).*?"title_AKA"\s*>\s*<span class="eng">\s*(\S[^<]*)</span</expression> </RegExp> - <RegExp input="$$1" output="<title>\1 (\3)</title><year>\2</year>" dest="8"> - <expression noclean="1">class="title_kor"[ ]*>([^<]+)</strong>[^\(]*\(.*?<?([0-9]+).*?title_AKA"[ ]*>[ \n]*([^ \n].*?)<span class="eng">[ \n]*</span</expression> + <RegExp input="$$1" output="<title>\1 (\3)</title><year>\2</year>" dest="8+"> + <expression trim="1,3">"title_kor"\s*>([^<]+)</strong>[^\(]*\(<a [^>]*>(\d+)</a>\).*?"title_AKA"\s*>\s*(\S[^<]*)<span class="eng">\s*</span</expression> </RegExp> <RegExp input="$$1" output="<title>\1 (\3,\4)</title><year>\2</year>" dest="8+"> - <expression noclean="1">class="title_kor"[ ]*>([^<]+)</strong>[^\(]*\(.*?<?([0-9]+).*?title_AKA"[ ]*>([^"]+)"eng">([^<]*)</span</expression> + <expression trim="1,3,4">"title_kor"\s*>([^<]+)</strong>[^\(]*\(<a [^>]*>(\d+)</a>\).*?"title_AKA"\s*>\s*(\S[^<]*)<span class="eng">\s*(\S[^<]*)</span</expression> </RegExp> - <!-- Director's names !--> <RegExp input="$$7" output="<director>\1</director>" dest="8+"> <RegExp input="$$1" output="\1" dest="7"> - <expression noclean="1"><strong>감독</strong>(.*?)<strong>출연</strong></expression> + <expression noclean="1"><strong>감독</strong>(.*)<strong>출연</strong></expression> </RegExp> - <expression noclean="1" repeat="yes"><a href=[^>]*>([^<]+)</a></expression> + <expression repeat="yes"><a href=[^>]*>([^<]*)</a></expression> </RegExp> - <!-- Studio !--> <RegExp input="$$7" output="<studio>\1</studio>" dest="8+"> <RegExp input="$$1" output="\1" dest="7"> - <expression noclean="1"><strong>제작/배급</strong>(.*?)<strong>감독</strong></expression> + <expression noclean="1"><strong>제작/배급</strong>(.*)<strong>감독</strong></expression> </RegExp> - <expression noclean="1" repeat="yes"><a href="[^>]*>([^<]+)</a></expression> + <expression repeat="yes"><a href="[^>]*>([^<]*)</a></expression> </RegExp> - <!-- Actors !--> - <RegExp input="$$7" output="<actor><name>\2</name><role>\3</role><thumb>\1</thumb></actor>" dest="8+"> - <RegExp input="$$1" output="\1" dest="7"> - <expression noclean="1">출연.*?"actors"(.*)"gradeWrap"</expression> - </RegExp> - <expression noclean="1" repeat="yes">class="cast_text"><img id="[^"]*"src="(.[^"]*)"[^>]*>[^>]*>(.[^<]*)</a>[^\(]*\((.[^\)]*)\)</expression> - </RegExp> - <!-- Tag Line !--> - <RegExp input="$$7" output="<tagline>\1</tagline>" dest="8+"> + <RegExp conditional="!EnableMoreCast" input="$$7" output="<actor><name>\2</name><role>\3</role><thumb>\1</thumb></actor>" dest="8+"> <RegExp input="$$1" output="\1" dest="7"> - <expression noclean="1">"synopsis"(.*)id="review"</expression> + <expression noclean="1"><strong>출연</strong>.*?"actors"(.*)"gradeWrap"</expression> </RegExp> - <expression>class="txt">[^>]*>(.[^<]*)</b></expression> + <expression repeat="yes">class="cast_text"><img id="[^"]*"src="([^"]*)"[^>]*>[^>]*>([^<]*)</a>[^\(]*\(([^\)]*)\)</expression> </RegExp> - <!-- Plot !--> - <RegExp input="$$1" output="<plot>\1</plot>" dest="8+"> - <expression><div class="txt"><table><tr><td>[^>]*>[^>]*></a>[^\t]*\t(.[^<]*)<</expression> + <RegExp conditional="EnableMoreCast" input="$$1" output="<url cache="daum-cast.htm" function="GetDaumCast">\1</url>" dest="8+"> + <expression><a class="tab3" href="([^"]*)"</expression> </RegExp> - <RegExp input="$$1" output="<plot>\1</plot>" dest="8+"> - <expression><div class="txt"><table><tr><td>[^\t]*\t(.[^<]*)<</expression> + <RegExp conditional="EnableWriter" input="$$1" output="<url cache="daum-cast.htm" function="GetDaumWriter">\1</url>" dest="8+"> + <expression><a class="tab3" href="([^"]*)"</expression> </RegExp> - <!-- Single Poster !--> - <RegExp conditional="!EnableThumbs" input="$$1" output="<thumb>\1</thumb>" dest="8+"> - <expression><p class="poster"><a[^<]*<img src="([^"]*)"</expression> + <RegExp conditional="!EnableFullPlot" input="$$7" output="<plot>\1</plot>" dest="8+"> + <RegExp input="$$1" output="\1" dest="7"> + <expression><div class="txt"><table><tr><td>(.*?)</td></tr></table>\s*</div></expression> + </RegExp> + <expression>(\S.*\S)</expression> </RegExp> - <!-- Premiered !--> - <RegExp input="$$7" output="<premiered>\1.\2</premiered>" dest="8+"> + <RegExp conditional="EnableFullPlot" input="$$1" output="<url cache="daum-story.htm" function="GetDaumFullPlot">\1</url>" dest="8+"> + <expression><a class="tab2" href="([^"]*)"</expression> + </RegExp> + <RegExp input="$$7" output="<premiered>\1</premiered>" dest="8+"> <RegExp input="$$1" output="\1" dest="7"> <expression noclean="1"><strong>요약정보</strong>(.*)<strong>감독</strong></expression> </RegExp> - <expression noclean="1">([0-9]*)-([0-9]*)-[0-9]*</expression> + <expression>(\d{4}-\d{1,2}-\d{1,2})</expression> </RegExp> - <!-- Genres !--> <RegExp input="$$7" output="<genre>\1</genre>" dest="8+"> <RegExp input="$$1" output="\1" dest="7"> - <expression noclean="1"><strong>요약정보</strong>(.*)<strong>감독</strong></expression> + <expression noclean="1"><strong>요약정보</strong>(.*?)\|</expression> </RegExp> - <expression noclean="1" repeat="yes"><a href='[^']*'>(.[^<]*)</a></expression> + <expression repeat="yes"><a href='[^']*'>([^<]*)</a></expression> </RegExp> - <!-- Runtime !--> <RegExp input="$$7" output="<runtime>\1 분</runtime>" dest="8+"> <RegExp input="$$1" output="\1" dest="7"> <expression noclean="1"><strong>요약정보</strong>(.*)<strong>감독</strong></expression> </RegExp> - <expression noclean="1">([0-9]*) 분</expression> + <expression>(\d+) 분</expression> </RegExp> - <!-- User rating !--> <RegExp input="$$1" output="<rating>\1</rating>" dest="8+"> - <expression>"star_big pink"><[^>]*><[^>]*>[^>]*>[^>]*><em>(.[^<]*)</em></expression> + <expression>"star_big [^"]+">.*?>네티즌별점<.*?<em>([\d\.]+)</em></expression> </RegExp> - <!-- User vote !--> <RegExp input="$$1" output="<votes>\1</votes>" dest="8+"> - <expression><span class="fs11 fc3">\(([0-9]*)명 참여\)</span></expression> + <expression><span class="fs11 fc3">\((\d+)명 참여\)</span></expression> </RegExp> - <!-- MPAA !--> <RegExp input="$$1" output="<mpaa>\1</mpaa>" dest="8+"> - <expression noclean="1">icon_rating_[0-9]*\.gif" title="(.[^"]*)"</expression> + <expression>icon_rating_\d+\.gif" title="([^"]*)"</expression> </RegExp> - <!-- Poster !--> - <RegExp conditional="EnableThumbs" input="$$1" output="<url function="GetDaumPoster">\1</url>" dest="8+"> - <expression><p class="poster"><a href="(.[^"]*)"</expression> + <RegExp conditional="!EnableThumbs" input="$$1" output="<thumb>\1</thumb>" dest="8+"> + <expression><p class="poster"><a [^<]*<img src="([^"]*)"</expression> </RegExp> - <!-- FanArts !--> - <RegExp conditional="EnableFanArt" input="$$5" output="<url function="GetTMDBId">http://api.themoviedb.org/2.0/Movie.search?title=\1&amp;api_key=57983e31fb435df4df77afb854740ea9</url>" dest="8+"> - <RegExp input="$$1" output="\1" dest="7"> - <expression noclean="1" clear="yes">"title_AKA"[^"]*"eng">([^<]*)<</expression> + <RegExp conditional="EnableThumbs" input="$$1" output="<url cache="daum-photo.htm" function="GetDaumPoster">\1</url>" dest="8+"> + <expression><a class="tab4" href="([^"]*)"</expression> + </RegExp> + <RegExp conditional="EnableTMDBFanart" input="$$7" output="<url function="GetTMDBFanartById">http://www.google.com/search?q=site:imdb.com\1</url>" dest="8+"> + <RegExp input="$$1" output="\4 \2" dest="6"> + <expression trim="1,3,4">"title_kor"\s*>([^<]*)</strong>[^\(]*\(<a [^>]*>(\d+)</a>\).*?"title_AKA"\s*>([^<]*)<span class="eng">([^<]+)</span</expression> </RegExp> - <RegExp input="$$7" output="+\1" dest="5"> - <expression repeat="yes" clear="yes">([^ ,]+)</expression> + <RegExp input="$$6" output="+\1" dest="7"> + <expression repeat="yes">([^ ,]+)</expression> </RegExp> - <expression noclean="1"/> - </RegExp> - <!-- FanArts !--> - <RegExp conditional="EnableFanArt" input="$$1" output="<url function="GetDAUMFanart">\1</url>" dest="8+"> - <expression noclean="1"><a class="tab1" href="(.[^"]*)"</expression> + <expression/> </RegExp> - <!-- Writer !--> - <RegExp conditional="EnableWriter" input="$$1" output="<url function="GetWriter">\1</url>" dest="8+"> - <expression noclean="1"><a class="tab3" href="(.[^"]*)"</expression> + <RegExp conditional="EnableFanart" input="$$1" output="<url cache="daum-photo.htm" function="GetDaumFanart">\1&order=recommend</url>" dest="8+"> + <expression><a class="tab4" href="([^"]*)"</expression> </RegExp> <expression noclean="1"/> </RegExp> </GetDetails> - <GetDaumPoster dest="8"> - <RegExp input="$$9" output="<details>\1</details>" dest="8"> - <RegExp input="$$1" output="\1" dest="7"> - <expression noclean="1">id="photo"(.*)id="photoViewer"</expression> + <GetDaumPoster dest="4"> + <RegExp input="$$5" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="<url cache="daum-photo.htm" function="GetDaumPosterPage">\1</url>" dest="5"> + <expression noclean="1"><a class="tab4" href="([^"]*)"</expression> </RegExp> - <RegExp input="$$7" output="<thumb preview="http://\1/C155x225/\2">http://\1/image/\2</thumb>" dest="9"> - <expression noclean="1" repeat="yes"><img src="http://([^/]+)/C155x225/([^"]+)"</expression> + <RegExp input="$$1" output="\1" dest="6"> + <expression noclean="1"><h3 class="tit">포스터 리스트</h3>.*<span class="current">(.*)<!-- 포스터 End</expression> + </RegExp> + <RegExp input="$$6" output="<url function="GetDaumPosterPage">http://movie.daum.net/\1</url>" dest="5+"> + <expression repeat="yes" noclean="1"><a href="([^"]*)">(\d+)</a></expression> </RegExp> <expression noclean="1"/> </RegExp> </GetDaumPoster> - <GetTMDBId dest="8"> - <RegExp input="$$1" output="<details><url function="GetTMDBFanart">http://api.themoviedb.org/2.0/Movie.getInfo?id=\1&amp;api_key=57983e31fb435df4df77afb854740ea9</url></details>" dest="8"> - <expression><id>([0-9]*)</id></expression> + <GetDaumPosterPage dest="4"> + <RegExp input="$$5" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="\1" dest="6"> + <expression noclean="1"><h3 class="tit">포스터 리스트</h3>(.*)<!-- 포스터 End</expression> + </RegExp> + <RegExp input="$$6" output="<thumb preview="http://\1/C155x225/\2">http://\1/image/\2</thumb>" dest="5"> + <expression repeat="yes" noclean="1"><img src="http://([^/]+)/C155x225/([^"]+)"</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetDaumPosterPage> + <GetDaumFanart clearbuffers="no" dest="4"> + <RegExp input="$$5" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="\1" dest="6"> + <expression noclean="1"><h3 class="tit">포토 리스트</h3>.*<span class="current">(.*)<!-- 포토 End</expression> + </RegExp> + <RegExp input="$$6" output="<url function="GetDaumFanartPage2">http://movie.daum.net\1</url>" dest="5"> + <expression repeat="yes" noclean="1"><a href="([^"]*)">(\d+)</a></expression> + </RegExp> + <RegExp input="$$1" output="<url cache="daum-photo.htm" function="GetDaumFanartPage">\1</url>" dest="5+"> + <expression noclean="1"><a class="tab4" href="([^"]*)"</expression> + </RegExp> + <expression noclean="1"/> </RegExp> - </GetTMDBId> - <GetTMDBFanart clearbuffers="no" dest="8"> - <RegExp input="$$1" output="<thumb preview="http://themoviedb.org/image/backdrops/\1/\2_poster.\3">http://themoviedb.org/image/backdrops/\1/\2.\3</thumb>" dest="10+"> - <expression clear="yes" noclean="1" repeat="yes"><backdrop size="original">.*?/([0-9]+)/([^\.]+)\.([a-zA-Z]*)[^<]*</backdrop></expression> + </GetDaumFanart> + <GetDaumFanartPage dest="4"> + <!-- append result from GetTMDBFanart/GetDaumFanartPage2 calls --> + <RegExp input="$$11$$5$$10" output="<details><fanart>\1</fanart></details>" dest="4"> + <RegExp input="$$1" output="\1" dest="6"> + <expression noclean="1"><h3 class="tit">포토 리스트</h3>(.*)<!-- 포토 End</expression> + </RegExp> + <RegExp input="$$6" output="<thumb preview="http://\1/S150x125/\2">http://\1/image/\2</thumb>" dest="5"> + <expression repeat="yes" noclean="1"><img src="http://([^/]+)/S150x125/([^"]+)"</expression> + </RegExp> + <expression noclean="1"/> </RegExp> - </GetTMDBFanart> - <GetDAUMFanart clearbuffers="no" dest="8"> - <RegExp input="$$10$$11" output="<details><fanart>\1</fanart></details>" dest="8"> - <RegExp input="$$1" output="<thumb preview="http://\1/C93x70/\2">http://\1/image/\2</thumb>" dest="11"> - <expression clear="yes" noclean="1" repeat="yes">imgArray\.push\("http://(.[^/]*)/C93x70/(.[^"]*)"\)</expression> + </GetDaumFanartPage> + <GetDaumFanartPage2 clearbuffers="no" dest="4"> + <RegExp input="$$5" output="<details></details>" dest="4"> + <RegExp input="$$1" output="\1" dest="6"> + <expression noclean="1"><h3 class="tit">포토 리스트</h3>(.*)<!-- 포토 End</expression> + </RegExp> + <RegExp input="$$6" output="<thumb preview="http://\1/S150x125/\2">http://\1/image/\2</thumb>" dest="10+"> + <expression repeat="yes" noclean="1"><img src="http://([^/]+)/S150x125/([^"]+)"</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetDaumFanartPage2> + <GetDaumCast dest="4"> + <RegExp input="$$6" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="\1" dest="5"> + <expression noclean="1"><h5\s*>\s*주연</h5>(.*)<h5\s*>\s*제작</expression> + </RegExp> + <RegExp input="$$5" output="<actor><name>\2</name><role>\3</role><thumb>\1</thumb></actor>" dest="6"> + <expression clear="yes" repeat="yes"><img src="([^"]*)"[^>]*></a></span>\s*<span class="name"[^>]*><a href[^>]*>([^<]*)</a></span>\s*<span class="etcs">\s*([^<]*) 역\s*</span></expression> + </RegExp> + <RegExp input="$$5" output="<actor><name>\2</name><role>\4</role><thumb>\1</thumb></actor>" dest="6+"> + <expression repeat="yes"><img src="([^"]*)"[^>]*></a></span>\s*<span class="name"[^>]*><a href[^>]*>([^<]*)</a></span>\s*<span class="aka fc4"><span class="eng">\(([^\)]*)\)</span></span>\s*<span class="etcs">\s*([^<]*) 역\s*</span></expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetDaumCast> + <GetDaumWriter dest="4"> + <RegExp input="$$6" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="\1" dest="5"> + <expression noclean="1"><h5\s*>\s*각본</h5>(.*?)<h5\s*></expression> + </RegExp> + <RegExp input="$$5" output="<credits>\1</credits>" dest="6"> + <expression repeat="yes">class="em b">([^<]*)<</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetDaumWriter> + <GetDaumFullPlot dest="4"> + <RegExp input="$$5" output="<details>\1</details>" dest="4"> + <RegExp input="$$6" output="<plot>\1</plot>" dest="5"> + <RegExp input="$$1" output="\1" dest="6"> + <expression><a name="synopsis">.*?<div class="txt">(.*?)</div></expression> + </RegExp> + <expression>(\S.*\S)</expression> + </RegExp> + <RegExp input="$$6" output="<tagline>\1</tagline>" dest="5+"> + <RegExp input="$$1" output="\1" dest="6"> + <expression clear="yes"><a name="tagline">.*?<div class="txt">(.*?)</div></expression> + </RegExp> + <expression>(\S.*\S)</expression> </RegExp> <expression noclean="1"/> </RegExp> - </GetDAUMFanart> - <GetWriter dest="8"> - <RegExp input="$$1" output="\1" dest="7"> - <expression noclean="1"><h5[ ]*>[ ]*각본</h5>(.*)<h5[ ]*>촬영</h5></expression> + </GetDaumFullPlot> + <!-- Modify after copying from common/tmdb.xml --> + <GetTMDBFanartById dest="4"> + <RegExp input="$$5" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="<url function="GetTMDBFanart" cache="tmdb-images-tt\1.xml">http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt\1</url>" dest="5"> + <expression>/tt([0-9]+)</expression> + </RegExp> + <RegExp input="$$1" output="<url function="GetTMDBFanart" cache="tmdb-images-\1.xml">http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/\1</url>" dest="5"> + <expression><id>([0-9]*)</id></expression> + </RegExp> + <expression noclean="1"/> </RegExp> - <RegExp input="$$6" output="<details>\1</details>" dest="8"> - <RegExp input="$$7" output="<credits>\1</credits>" dest="6"> - <expression noclean="1" repeat="yes">class="em b">(.[^<]*)<</expression> + </GetTMDBFanartById> + <GetTMDBFanart clearbuffers="no" dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<thumb>\1</thumb>" dest="3"> + <expression noclean="1" repeat="yes"><backdrop[^>]*>(.*?)</backdrop></expression> + </RegExp> + <RegExp input="$$3" output="<thumb preview="\2">\1\3</thumb>" dest="4"> + <expression noclean="1,3" repeat="yes"><thumb>(.*?)url="([^"]*)" size="poster"(.*?)</thumb></expression> + </RegExp> + <RegExp input="$$4" output="<thumb\1>\2</thumb>" dest="11"> + <expression repeat="yes" noclean="1"><thumb([^>]*)>.*?url="([^"]*)" size="original".*?</thumb></expression> </RegExp> <expression noclean="1"/> </RegExp> - </GetWriter> + </GetTMDBFanart> </scraper> |