455 lines
24 KiB
XML
455 lines
24 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
<scraperfunctions>
|
|||
|
<GetIMDBGenresById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBGenres">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBGenresById>
|
|||
|
<ParseIMDBGenres dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="\1" dest="6">
|
|||
|
<expression noclean="1">,\s*"genre":\s("[^"]+"),</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="\1" dest="6">
|
|||
|
<expression noclean="1">"genre":\s\[(.*?)\]</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<genre>\1</genre>" dest="2">
|
|||
|
<expression repeat="yes">"([^"]+)"</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBGenres>
|
|||
|
|
|||
|
<GetIMDBRatingById dest="5"> <!-- Compatibility function for Pre-Krypton versions-->
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBRating">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBRatingById>
|
|||
|
<ParseIMDBRating dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="<rating>\2</rating><votes>\1</votes>" dest="2">
|
|||
|
<expression>"ratingCount":\s([0-9,]+),\s*"bestRating":\s"[^"]*",\s*"worstRating":\s"[^"]*",\s*"ratingValue":\s"([0-9.]+)</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBRating>
|
|||
|
|
|||
|
<GetIMDBRatingsById dest="5" clearbuffers="no">
|
|||
|
<RegExp input="$$1" output="<details><url cache="\1-main.html" function="ParseIMDBRatings">https://www.imdb.com/title/\1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1">^(tt\d+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="default="true"" dest="3">
|
|||
|
<expression clear="yes">\|default$</expression>
|
|||
|
</RegExp>
|
|||
|
</GetIMDBRatingsById>
|
|||
|
<ParseIMDBRatings dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="<ratings><rating name="imdb" $$3><value>\2</value><votes>\1</votes></rating></ratings>" dest="2">
|
|||
|
<expression>"ratingCount":\s([0-9,]+),\s*"bestRating":\s"[^"]*",\s*"worstRating":\s"[^"]*",\s*"ratingValue":\s"([0-9.]+)</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBRatings>
|
|||
|
|
|||
|
<GetIMDBTOP250ById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBTOP250">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBTOP250ById>
|
|||
|
<ParseIMDBTOP250 dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="<top250>\1</top250>" dest="2">
|
|||
|
<expression>Top\sRated\sMovies\s#([0-9]*)</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBTOP250>
|
|||
|
|
|||
|
<GetIMDBStudioById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBStudio">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBStudioById>
|
|||
|
<ParseIMDBStudio dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="<studio>\1</studio>" dest="2">
|
|||
|
<expression>"/company/[^"]+"\s*>([^<]+)</a></expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBStudio>
|
|||
|
|
|||
|
<GetIMDBCountryById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBCountry">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBCountryById>
|
|||
|
<ParseIMDBCountry dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="\1" dest="6">
|
|||
|
<expression clear="yes" noclean="1">Country:[^>]+>(.*?)</div></expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<country>\1</country>" dest="2">
|
|||
|
<expression repeat="yes">>([^<]+)</a></expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBCountry>
|
|||
|
|
|||
|
<GetMetaCriticRatingById dest="5"> <!-- Compatibility function for Pre-Krypton versions-->
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-criticreviews.html" function="ParseMetaCriticRating">https://www.imdb.com/title/$$1/criticreviews|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetMetaCriticRatingById>
|
|||
|
<ParseMetaCriticRating dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="\1" dest="6">
|
|||
|
<expression clear="yes" noclean="1"><div\sclass="metascore_block"(.*?)Metacritic.com</a></expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<rating max="100">\1</value>" dest="2">
|
|||
|
<expression clear="yes"><span\sitemprop="ratingValue">(\d+)</span></expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<votes>\1</votes>" dest="2+">
|
|||
|
<expression><span\sitemprop="ratingCount">(\d+)</span></expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseMetaCriticRating>
|
|||
|
|
|||
|
<GetMetaCriticRatingsById dest="5" clearbuffers="no">
|
|||
|
<RegExp input="$$1" output="<details><url cache="\1-criticreviews.html" function="ParseMetaCriticRatings">https://www.imdb.com/title/\1/criticreviews|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1">(tt\d+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="default="true"" dest="3">
|
|||
|
<expression clear="yes">\|default$</expression>
|
|||
|
</RegExp>
|
|||
|
</GetMetaCriticRatingsById>
|
|||
|
<ParseMetaCriticRatings dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$4" output="<ratings><rating name="metacritic" max="100" $$3>\1</rating></ratings>" dest="2">
|
|||
|
<RegExp input="$$1" output="\1" dest="6">
|
|||
|
<expression clear="yes" noclean="1"><div\sclass="metascore_block"(.*?)Metacritic.com</a></expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<value>\1</value>" dest="4">
|
|||
|
<expression clear="yes"><span\sitemprop="ratingValue">(\d+)</span></expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<votes>\1</votes>" dest="4+">
|
|||
|
<expression><span\sitemprop="ratingCount">(\d+)</span></expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" clear="yes"/>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseMetaCriticRatings>
|
|||
|
|
|||
|
<GetIMDBPlotById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBPlot">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBPlotById>
|
|||
|
<ParseIMDBPlot dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="<plot>\1</plot>" dest="2">
|
|||
|
<expression fixchars="1" trim="1"><h2>Storyline</h2>\s+<div\sclass="inline\scanwrap">\s+<p>\s+<span>(.*?)</span></expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBPlot>
|
|||
|
|
|||
|
<GetIMDBTaglineById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBTagline">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBTaglineById>
|
|||
|
<ParseIMDBTagline dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="<tagline>\1</tagline>" dest="2">
|
|||
|
<expression fixchars="1" trim="1"><h4[^>]*?>Taglines:</h4>\n?([^<]*)</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBTagline>
|
|||
|
|
|||
|
<GetIMDBOutlineById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBOutline">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBOutlineById>
|
|||
|
<ParseIMDBOutline dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="<outline>\1</outline>" dest="2">
|
|||
|
<expression fixchars="1" trim="1"><div class="summary_text">(.+?)<div\sclass</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="<outline>\1</outline>" dest="2">
|
|||
|
<expression fixchars="1" trim="1"><div class="summary_text">(.+?)<a\shref="(.+?)=tt_ov_pl"</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="<outline>\1</outline>" dest="2">
|
|||
|
<expression fixchars="1" trim="1"><div class="summary_text">(.+?)<a\shref="[^"]*"\s*>Add\sa\sPlot</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBOutline>
|
|||
|
|
|||
|
<GetIMDBOutlineToPlotById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBOutlineToPlot">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBOutlineToPlotById>
|
|||
|
<ParseIMDBOutlineToPlot dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="<plot>\1</plot>" dest="2">
|
|||
|
<expression fixchars="1" trim="1"><div class="summary_text">(.+?)<div\sclass</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="<plot>\1</plot>" dest="2">
|
|||
|
<expression fixchars="1" trim="1"><div class="summary_text">(.+?)<a\shref="(.+?)=tt_ov_pl"</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="<plot>\1</plot>" dest="2">
|
|||
|
<expression fixchars="1" trim="1"><div class="summary_text">(.+?)<a\shref="[^"]*"\s*>Add\sa\sPlot</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBOutlineToPlot>
|
|||
|
|
|||
|
<GetIMDBCastById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBCast">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBCastById>
|
|||
|
<ParseIMDBCast dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="\1" dest="6">
|
|||
|
<expression noclean="1"><table\sclass="cast_list">(.*?)</table></expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<actor><thumb>\2\3SX1024_SY1024_.jpg</thumb><name>\1</name><role>\5</role></actor>" dest="7">
|
|||
|
<expression repeat="yes" clear="yes" trim="3,4" noclean="1,2"><img[^a]*alt="([^"]*)"[^"]*"[^"]*"[^s]*src="(?:[^"]*\.[^"]*"\sclass="loadlate\shidden\s"\sloadlate="([^"]*)(_V..?_))[^>]*.*?ter">[^>]*>(<[^>]*>)?([^<\(]*)?</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<actor><thumb></thumb><name>\1</name><role>\3</role></actor>" dest="7+">
|
|||
|
<expression repeat="yes" trim="1,2,3" fixchars="3" noclean="1,2"><img[^a]*alt="([^"]*)"[^"]*"[^"]*"[^s]*src="(?:[^"]*\.[^"]*\.png)"\sclass=".*?"\s/>*.*?ter">[^>]*>(<[^>]*>)?([^<\(]*)?</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$7" output="<actor><thumb>\1</thumb>\2</actor>" dest="2+">
|
|||
|
<expression repeat="yes" clear="yes" noclean="1,2,3"><actor><thumb>(?:(http.*?)|_SX[0-9]+_SY[0-9]+_)?</thumb>(.*?)</actor></expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBCast>
|
|||
|
|
|||
|
<GetIMDBDirectorsById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBDirectors">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBDirectorsById>
|
|||
|
<ParseIMDBDirectors dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="\1" dest="6">
|
|||
|
<expression clear="yes" noclean="1">Director(?:s)?:.*?</h4>(.*?)<div class</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<director>\1</director>" dest="2">
|
|||
|
<expression repeat="yes" fixchars="yes" clear="yes">href="/name[^>]*>([^<]*)</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBDirectors>
|
|||
|
|
|||
|
<GetIMDBWritersById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBWriters">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBWritersById>
|
|||
|
<ParseIMDBWriters dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="\1" dest="6">
|
|||
|
<expression clear="yes" noclean="1">Writer(?:s)?:.*?</h4>(.*?)<div class</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<credits>\1</credits>" dest="2">
|
|||
|
<expression repeat="yes" fixchars="yes" clear="yes">href="/name[^>]*>([^<]*)</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBWriters>
|
|||
|
|
|||
|
<GetIMDBFullCastById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-reference.html" function="ParseIMDBFullCast">https://www.imdb.com/title/$$1/reference|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBFullCastById>
|
|||
|
<ParseIMDBFullCast dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="\1" dest="6">
|
|||
|
<expression noclean="1"><table\sclass="cast_list">(.*?)</table></expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<actor><thumb>\2\3SX1024_SY1024_.jpg</thumb><name>\1</name><role>\5</role></actor>" dest="7">
|
|||
|
<expression repeat="yes" clear="yes" trim="3,4" noclean="1,2"><img[^a]*alt="([^"]*)"[^"]*"[^"]*"[^s]*src="(?:[^"]*\.[^"]*"\sclass="loadlate\shidden\s"\sloadlate="([^"]*)(_V..?_))[^>]*.*?ter">[^>]*>\n\s*(<[^>]*>)?([^<\(]*)?</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<actor><thumb></thumb><name>\1</name><role>\3</role></actor>" dest="7+">
|
|||
|
<expression repeat="yes" trim="1,2,3" fixchars="3" noclean="1,2"><img[^a]*alt="([^"]*)"[^"]*"[^"]*"[^s]*src="(?:[^"]*\.[^"]*\.png)"\sclass=".*?"\s/>*.*?ter">[^>]*>\n\s*(<[^>]*>)?([^<\(]*)?</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$7" output="<actor><thumb>\1</thumb>\2</actor>" dest="2+">
|
|||
|
<expression repeat="yes" clear="yes" noclean="1,2,3"><actor><thumb>(?:(http.*?)|_SX[0-9]+_SY[0-9]+_)?</thumb>(.*?)</actor></expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBFullCast>
|
|||
|
|
|||
|
<GetIMDBFullDirectorsById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-reference.html" function="ParseIMDBFullDirectors">https://www.imdb.com/title/$$1/reference|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBFullDirectorsById>
|
|||
|
<ParseIMDBFullDirectors dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="\1" dest="6">
|
|||
|
<expression clear="yes" noclean="1">Director(?:s)?:.*?ipl-inline-list[^>]*>(.*?)</div</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<director>\1</director>" dest="2">
|
|||
|
<expression repeat="yes" fixchars="1"><a href="/name/[^>]*>([^<]*)<</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBFullDirectors>
|
|||
|
|
|||
|
<GetIMDBFullWritersById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-reference.html" function="ParseIMDBFullWriters">https://www.imdb.com/title/$$1/reference|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBFullWritersById>
|
|||
|
<ParseIMDBFullWriters dest="5">
|
|||
|
<RegExp input="$$2" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="\1" dest="6">
|
|||
|
<expression noclean="1">Writer(?:s)?:.*?ipl-inline-list[^>]*>(.*?)</div</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$6" output="<credits>\1</credits>" dest="2">
|
|||
|
<expression repeat="yes" fixchars="1"><a href="/name/[^>]*>([^<]*)<</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBFullWriters>
|
|||
|
|
|||
|
<GetIMDBThumbsById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-main.html" function="ParseIMDBThumbs">https://www.imdb.com/title/$$1/|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBThumbsById>
|
|||
|
<ParseIMDBThumbs dest="5">
|
|||
|
<RegExp input="$$6" output="<details>\1</details>" dest="5">
|
|||
|
<RegExp input="$$1" output="<thumb aspect="poster">\1\2.jpg</thumb>" dest="6">
|
|||
|
<expression noclean="1">Poster"\s*src="(.*?)(_V._)</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBThumbs>
|
|||
|
|
|||
|
<GetIMDBUSACert dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-reference.html" function="ParseIMDBUSACert">https://www.imdb.com/title/$$1/reference|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBUSACert>
|
|||
|
<ParseIMDBUSACert dest="5">
|
|||
|
<RegExp input="$$1" output="<details><mpaa>$INFO[certprefix]\1</mpaa></details>" dest="5">
|
|||
|
<expression>>\s*United\sStates:(TV-(Y7?|P?G|14|MA))</a></expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="<details><mpaa>$INFO[certprefix]\1</mpaa></details>" dest="5">
|
|||
|
<expression>>\s*United\sStates:(P?G|PG-13|R|NC-17)</a></expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="<details><mpaa>$INFO[certprefix]\1</mpaa></details>" dest="5">
|
|||
|
<expression>MPAA</a>:</h5><div\sclass="info-content">Rated\s(P?G|PG-13|R|NC-17)</expression>
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBUSACert>
|
|||
|
|
|||
|
<GetIMDBCountryCert dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-reference.html" function="ParseIMDBCountryCert">https://www.imdb.com/title/$$1/reference|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$INFO[imdbcertcountry]" output="$$2" dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-reference.html" function="ParseIMDBUSACert">https://www.imdb.com/title/$$1/reference|accept-language=en-us</url></details>" dest="2">
|
|||
|
<expression noclean="1"/>
|
|||
|
</RegExp>
|
|||
|
<expression>United States</expression>
|
|||
|
</RegExp>
|
|||
|
</GetIMDBCountryCert>
|
|||
|
<ParseIMDBCountryCert dest="5">
|
|||
|
<RegExp input="$$1" output="<details><mpaa>$INFO[certprefix]\1</mpaa></details>" dest="5">
|
|||
|
<expression>>\s*$INFO[imdbcertcountry]:([^<]+)</a></expression>
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBCountryCert>
|
|||
|
|
|||
|
<GetIMDBAKATitlesById dest="5">
|
|||
|
<RegExp input="$$1" output="<details><url cache="$$1-releaseinfo.html" function="ParseIMDBAKATitles">https://www.imdb.com/title/$$1/releaseinfo|accept-language=en-us</url></details>" dest="5">
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</GetIMDBAKATitlesById>
|
|||
|
<ParseIMDBAKATitles dest="5">
|
|||
|
<RegExp input="$$2" output="<details><title>\1</title></details>" dest="5">
|
|||
|
<RegExp input="$$1" output="\2" dest="2">
|
|||
|
<expression>'og:title'\scontent="(IMDb\s-\s)?(?:&#x22;)?([^"]*?)(?:&#x22;)? \([^\(]*?([0-9]{4})(?:–\s)?\)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$10" output="\1" dest="4">
|
|||
|
<RegExp input="$$1" output="\1" dest="9">
|
|||
|
<expression>name">\s\(original\stitle\)[^>]+>[^>]+>([^<]+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="\1" dest="9">
|
|||
|
<expression>class="originalTitle">([^<]*)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$9" output="\1" dest="10">
|
|||
|
<expression />
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="\1" dest="11">
|
|||
|
<expression>'og:title'\scontent="(IMDb\s-\s)?(?:&#x22;)?([^"]*?)(?:&#x22;)? \([^\(]*?([0-9]{4})(?:–\s)?\)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$11" output="\1" dest="10">
|
|||
|
<expression>(.+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="\1" dest="11">
|
|||
|
<expression clear="yes">name">Hong Kong\s\(English[^>]+>[^>]+>([^<]+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$11" output="\1" dest="10">
|
|||
|
<expression>(.+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="\1" dest="11">
|
|||
|
<expression clear="yes">name">Canada\s\(English[^>]+>[^>]+>([^<]+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$11" output="\1" dest="10">
|
|||
|
<expression>(.+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="\1" dest="11">
|
|||
|
<expression clear="yes">name">UK<[^>]+>[^>]+>([^<]+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$11" output="\1" dest="10">
|
|||
|
<expression>(.+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="\1" dest="11">
|
|||
|
<expression clear="yes">name">World-wide\s\(English\stitle\)<[^>]+>[^>]+>([^<]+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$11" output="\1" dest="10">
|
|||
|
<expression>(.+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="\1" dest="11">
|
|||
|
<expression clear="yes">name">USA<[^>]+>[^>]+>([^<]+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$11" output="\1" dest="10">
|
|||
|
<expression>(.+)</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$4" output="\1" dest="2">
|
|||
|
<expression>(.+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="\1" dest="4">
|
|||
|
<expression>name">$INFO[imdbakatitles][^>]+>[^>]+>([^<]+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$1" output="\1" dest="4">
|
|||
|
<expression>name">$INFO[imdbakatitles]<[^>]+>[^>]+>([^<]+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$4" output="\1" dest="2">
|
|||
|
<expression>(.+)</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$INFO[imdbakatitles]" output="$$9" dest="4">
|
|||
|
<expression>Keep Original</expression>
|
|||
|
</RegExp>
|
|||
|
<RegExp input="$$4" output="\1" dest="2">
|
|||
|
<expression>(.+)</expression>
|
|||
|
</RegExp>
|
|||
|
<expression noclean="1" />
|
|||
|
</RegExp>
|
|||
|
</ParseIMDBAKATitles>
|
|||
|
|
|||
|
</scraperfunctions>
|