<?xml version="1.0" encoding="UTF-8"?>
<scraperfunctions>

	<GetTMDBCertificationsByIdChain clearbuffers="no" dest="4"> <!-- Expected chaining format= tmdb_id::certification_country::certification_prefix-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="\1" dest="16">
				<expression>.+::(.+)::(.+)?</expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="17">
				<expression>.+::.+::(.+)?</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBCertifications&quot; cache=&quot;tmdb-cert-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1/releases?api_key=f090bb54758cabf231fb605d3e3e0468&lt;/url&gt;" dest="5">
				<expression>(.+)::(.+)::(.+)?</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBCertificationsByIdChain>
	<ParseTMDBCertifications dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="15">
				<expression fixchars="1">certification&quot;:&quot;([^&quot;]*)&quot;,&quot;[^&quot;]*&quot;:&quot;$$16&quot;(.*?),&quot;</expression>
			</RegExp>
			<RegExp input="$$15" output="&lt;mpaa&gt;$$17 \1&lt;/mpaa&gt;" dest="2">
				<expression>(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBCertifications>

	<GetTMDBTitleByIdChain clearbuffers="no" dest="4"> <!-- Expected chaining format= tmdb_id::language-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="\1::\2" dest="16">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBTitle&quot; cache=&quot;tmdb-\2-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=\2&lt;/url&gt;" dest="5">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<RegExp input="$$1" output="$$2" dest="5">
				<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBTitle&quot; cache=&quot;tmdb-en-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=en&lt;/url&gt;" dest="2">
					<expression>(.+)::</expression>
				</RegExp>
				<expression>(.+)::Keep Original</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</GetTMDBTitleByIdChain>
	<ParseTMDBTitle dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;title&gt;\1&lt;/title&gt;" dest="2">
				<expression fixchars="1">&quot;title&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<RegExp input="$$16" output="$$3" dest="2">
				<RegExp input="$$1" output="&lt;title&gt;\1&lt;/title&gt;" dest="3">
					<expression fixchars="1">&quot;original_title&quot;:&quot;([^&quot;]*)</expression>
				</RegExp>
				<expression>(.+)::Keep Original</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBTitle>

	<GetTMDBPlotByIdChain clearbuffers="no" dest="4"> <!-- Expected chaining format= tmdb_id::language-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="\1" dest="8">
				<expression encode="1">(.+)::.+</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBPlot&quot; cache=&quot;tmdb-\2-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=\2&lt;/url&gt;" dest="5">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBPlotByIdChain>
	<ParseTMDBPlot dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="9">
				<expression clear="yes" fixchars="1">&quot;overview&quot;:&quot;(.*?)&quot;,&quot;</expression>
			</RegExp>
			<RegExp input="$$9" output="&lt;url function=&quot;ParseFallbackTMDBPlot&quot; cache=&quot;tmdb-en-$$8.json&quot;&gt;https://api.tmdb.org/3/movie/$$8?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=en&lt;/url&gt;" dest="2">
				<expression>^$</expression>
			</RegExp>
			<RegExp input="$$9" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="2">
				<expression>(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBPlot>
	<ParseFallbackTMDBPlot dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="2">
				<expression clear="yes" fixchars="1">&quot;overview&quot;:&quot;(.*?)&quot;,&quot;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseFallbackTMDBPlot>

	<GetTMDBTaglineByIdChain clearbuffers="no" dest="4"> <!-- Expected chaining format= tmdb_id::language-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="\1" dest="8">
				<expression>(.+)::.+</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBTagline&quot; cache=&quot;tmdb-\2-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=\2&lt;/url&gt;" dest="5">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBTaglineByIdChain>
	<ParseTMDBTagline dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="9">
				<expression clear="yes" fixchars="1">&quot;tagline&quot;:&quot;(.*?)&quot;,&quot;</expression>
			</RegExp>
			<RegExp input="$$9" output="&lt;url function=&quot;ParseFallbackTMDBTagline&quot; cache=&quot;tmdb-en-$$8.json&quot;&gt;https://api.tmdb.org/3/movie/$$8?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=en&lt;/url&gt;" dest="2">
				<expression>^$</expression>
			</RegExp>
			<RegExp input="$$9" output="&lt;tagline&gt;\1&lt;/tagline&gt;" dest="2">
				<expression>(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBTagline>
	<ParseFallbackTMDBTagline dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;tagline&gt;\1&lt;/tagline&gt;" dest="2">
				<expression clear="yes" fixchars="1">&quot;tagline&quot;:&quot;(.*?)&quot;,&quot;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseFallbackTMDBTagline>

	<GetTMDBTagsByIdChain clearbuffers="no" dest="4"> <!-- Expected chaining format= tmdb_id-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="\1" dest="8">
				<expression clear="yes" noclean="1" />
			</RegExp>
			<RegExp input="$$8" output="&lt;url function=&quot;ParseTMDBTags&quot; &gt;https://api.tmdb.org/3/movie/\1/keywords?api_key=f090bb54758cabf231fb605d3e3e0468&lt;/url&gt;" dest="5">
				<expression />
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBTagsByIdChain>
	<ParseTMDBTags dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;tag&gt;\1&lt;/tag&gt;" dest="2">
				<expression repeat="yes" noclean="1">\{&quot;id&quot;:[0-9]+,&quot;name&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBTags>

	<GetTMDBSetByIdChain clearbuffers="no" dest="4"> <!-- Expected chaining format= tmdb_id::language-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="\1" dest="8">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<RegExp input="$$1" output="\2" dest="10">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<RegExp input="$$8" output="&lt;url function=&quot;GetTMDBSetID&quot; cache=&quot;tmdb-$$10-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=$$10&lt;/url&gt;" dest="5">
				<expression />
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBSetByIdChain>
	<GetTMDBSetID dest="5" clearbuffers="no">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="9">
				<expression clear="yes" noclean="1">&quot;belongs_to_collection&quot;:\{&quot;id&quot;:([0-9]+),&quot;name&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<RegExp input="$$9" output="&lt;url function=&quot;ParseTMDBBaseImageURL&quot; cache=&quot;tmdb-config.json&quot;&gt;https://api.tmdb.org/3/configuration?api_key=f090bb54758cabf231fb605d3e3e0468&lt;/url&gt;" dest="2">
				<expression>(.+)</expression>
			</RegExp>
			<RegExp input="$$9" output="&lt;url function=&quot;ParseTMDBSetOutline&quot; cache=&quot;tmdbset-$$10-\1.json&quot;&gt;https://api.tmdb.org/3/collection/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=$$10&amp;amp;append_to_response=images&amp;amp;include_image_language=$$10,en,null&lt;/url&gt;" dest="2+">
				<expression>(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBSetID>
	<ParseTMDBSetOutline dest="5" clearbuffers="no">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$4" output="&lt;set&gt;\1&lt;/set&gt;$$13$$14" dest="2">
				<RegExp input="$$1" output="\1" dest="11">
					<expression noclean="1">&quot;id&quot;:[0-9]+,&quot;name&quot;:&quot;([^&quot;]*)</expression>
				</RegExp>
				<RegExp input="$$11" output="&lt;name&gt;\1&lt;/name&gt;" dest="4">
					<expression>(.+)</expression>
				</RegExp>
				<RegExp input="$$1" output="\1" dest="6">
					<expression noclean="1">&quot;id&quot;:([0-9]+)</expression>
				</RegExp>
				<RegExp input="$$1" output="\1" dest="9">
					<expression fixchars="1">&quot;id&quot;:[0-9]+,&quot;name&quot;:&quot;[^&quot;]*&quot;,&quot;overview&quot;:&quot;(.*?)&quot;,&quot;</expression>
				</RegExp>
				<RegExp input="$$9" output="&lt;overview&gt;\1&lt;/overview&gt;" dest="4+">
					<expression>(.+)</expression>
				</RegExp>
				<RegExp input="$$1" output="\1" dest="7">
					<expression clear="yes" noclean="1">&quot;posters&quot;:\[\{([^\]]*)</expression>
				</RegExp>
				<RegExp input="$$7" output="&lt;thumb aspect=&quot;set&quot; preview=&quot;$$20w500\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="13">
					<expression repeat="yes" clear="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)[^:]*:[^:]*:&quot;$$10</expression>
				</RegExp>
				<RegExp input="$$7" output="&lt;thumb aspect=&quot;set&quot; preview=&quot;$$20w500\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="13+">
					<expression repeat="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)[^:]*:[^:]*:&quot;en</expression>
				</RegExp>
				<RegExp input="$$7" output="&lt;thumb aspect=&quot;set&quot; preview=&quot;$$20w500\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="13+">
					<expression repeat="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)[^:]*:[^:]*:null</expression>
				</RegExp>
				<RegExp input="$$1" output="\1" dest="7">
					<expression clear="yes" noclean="1">&quot;backdrops&quot;:\[\{([^\]]*)</expression>
				</RegExp>
				<RegExp input="$$7" output="&lt;thumb aspect=&quot;setfanart&quot; preview=&quot;$$20w500\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="14">
					<expression clear="yes" repeat="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)</expression>
				</RegExp>
				<expression noclean="1" />
			</RegExp>
			<RegExp input="$$9" output="&lt;url function=&quot;ParseFallbackTMDBSetOutline&quot; cache=&quot;tmdbset-en-$$6.json&quot;&gt;https://api.tmdb.org/3/collection/$$6?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=en&amp;amp;append_to_response=images&amp;amp;include_image_language=$$10,en,null&lt;/url&gt;" dest="2">
				<expression>^$</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBSetOutline>
	<ParseFallbackTMDBSetOutline dest="5">
		<RegExp input="$$2" output="&lt;details&gt;&lt;set&gt;\1&lt;/set&gt;$$13$$14&lt;/details&gt;" dest="5">
			<RegExp input="$$11" output="&lt;name&gt;\1&lt;/name&gt;" dest="2">
				<expression>(.+)</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;overview&gt;\1&lt;/overview&gt;" dest="2+">
				<expression noclean="1">&quot;id&quot;:[0-9]+,&quot;name&quot;:&quot;[^&quot;]*&quot;,&quot;overview&quot;:&quot;(.*?)&quot;,&quot;</expression>
			</RegExp>
				<RegExp input="$$1" output="\1" dest="7">
					<expression clear="yes" noclean="1">&quot;posters&quot;:\[\{([^\]]*)</expression>
				</RegExp>
				<RegExp input="$$7" output="&lt;thumb aspect=&quot;set&quot; preview=&quot;$$20w500\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="13">
					<expression repeat="yes" clear="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)[^:]*:[^:]*:&quot;$$10</expression>
				</RegExp>
				<RegExp input="$$7" output="&lt;thumb aspect=&quot;set&quot; preview=&quot;$$20w500\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="13+">
					<expression repeat="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)[^:]*:[^:]*:&quot;en</expression>
				</RegExp>
				<RegExp input="$$7" output="&lt;thumb aspect=&quot;set&quot; preview=&quot;$$20w500\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="13+">
					<expression repeat="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)[^:]*:[^:]*:null</expression>
				</RegExp>
				<RegExp input="$$1" output="\1" dest="7">
					<expression clear="yes" noclean="1">&quot;backdrops&quot;:\[\{([^\]]*)</expression>
				</RegExp>
				<RegExp input="$$7" output="&lt;thumb aspect=&quot;setfanart&quot; preview=&quot;$$20w500\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="14">
					<expression clear="yes" repeat="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)</expression>
				</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseFallbackTMDBSetOutline>

	<GetTMDBCastByIdChain dest="4"> <!-- Expected chaining format= tmdb_id-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBBaseImageURL&quot; cache=&quot;tmdb-config.json&quot;&gt;https://api.tmdb.org/3/configuration?api_key=f090bb54758cabf231fb605d3e3e0468&lt;/url&gt;" dest="5">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBCast&quot; cache=&quot;tmdb-cast-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1/casts?api_key=f090bb54758cabf231fb605d3e3e0468&lt;/url&gt;" dest="5+">
				<expression />
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBCastByIdChain>
	<ParseTMDBCast dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="7">
				<expression clear="yes" noclean="1">&quot;cast&quot;:\[([^\]]*)</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;actor&gt;&lt;name&gt;\2&lt;/name&gt;&lt;role&gt;\1&lt;/role&gt;&lt;order&gt;\3&lt;/order&gt;&lt;thumb&gt;$$20original\4&lt;/thumb&gt;&lt;/actor&gt;" dest="2">
				<expression repeat="yes" fixchars="1,2">&quot;character&quot;:&quot;((?:[^&quot;]|(?&lt;=\\)&quot;)*)&quot;,&quot;credit_id&quot;:&quot;[^&quot;]*&quot;,&quot;gender&quot;:[0-9]*,&quot;id&quot;:[0-9]*,&quot;name&quot;:&quot;([^&quot;]*)&quot;,&quot;order&quot;:([0-9]*),&quot;profile_path&quot;:&quot;([^&quot;]*)&quot;</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;actor&gt;&lt;name&gt;\2&lt;/name&gt;&lt;role&gt;\1&lt;/role&gt;&lt;order&gt;\3&lt;/order&gt;&lt;/actor&gt;" dest="2+">
				<expression repeat="yes" fixchars="1,2">&quot;character&quot;:&quot;((?:[^&quot;]|(?&lt;=\\)&quot;)*)&quot;,&quot;credit_id&quot;:&quot;[^&quot;]*&quot;,&quot;gender&quot;:[0-9]*,&quot;id&quot;:[0-9]*,&quot;name&quot;:&quot;([^&quot;]*)&quot;,&quot;order&quot;:([0-9]*),&quot;profile_path&quot;:null</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBCast>

	<GetTMDBDirectorsByIdChain dest="4"> <!-- Expected chaining format= tmdb_id-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBDirectors&quot; cache=&quot;tmdb-cast-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1/casts?api_key=f090bb54758cabf231fb605d3e3e0468&lt;/url&gt;" dest="5">
				<expression />
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBDirectorsByIdChain>
	<ParseTMDBDirectors dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="7">
				<expression clear="yes" noclean="1">&quot;crew&quot;:\[([^\]]*)</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;director&gt;\1&lt;/director&gt;" dest="2">
				<expression repeat="yes" fixchars="1">&quot;department&quot;:&quot;Directing&quot;,&quot;gender&quot;:[0-9]*,&quot;id&quot;:[0-9]*,&quot;job&quot;:&quot;Director&quot;,&quot;name&quot;:&quot;([^&quot;]*)&quot;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBDirectors>

	<GetTMDBWitersByIdChain dest="4"> <!-- Expected chaining format= tmdb_id-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBWriters&quot; cache=&quot;tmdb-cast-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1/casts?api_key=f090bb54758cabf231fb605d3e3e0468&lt;/url&gt;" dest="5">
				<expression />
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBWitersByIdChain>
	<ParseTMDBWriters dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="7">
				<expression clear="yes" noclean="1">&quot;crew&quot;:\[([^\]]*)</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;credits&gt;\1&lt;/credits&gt;" dest="2">
				<expression repeat="yes" fixchars="1">&quot;department&quot;:&quot;Writing&quot;,&quot;gender&quot;:[0-9]*,&quot;id&quot;:[0-9]*,&quot;job&quot;:&quot;(?:Screenplay|Writer|Author)?&quot;,&quot;name&quot;:&quot;([^&quot;]*)&quot;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBWriters>

	<GetTMDBGenresByIdChain dest="4"> <!-- Expected chaining format= tmdb_id::language-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBGenres&quot; cache=&quot;tmdb-\2-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=\2&lt;/url&gt;" dest="5">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBGenresByIdChain>
	<ParseTMDBGenres dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="7">
				<expression clear="yes" noclean="1">&quot;genres&quot;:\[([^\]]*)</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="2">
				<expression repeat="yes" fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBGenres>

	<GetTMDBRatingByIdChain dest="4">	<!-- Compatibility function for Pre-Krypton versions-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="\2" dest="11">
				<expression>(.+)::(..)</expression>
			</RegExp>
			<RegExp input="$$1" output="\2" dest="11">
				<expression>(.+)::([^\|]*)</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBRating&quot; cache=&quot;tmdb-$$11-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=$$11&lt;/url&gt;" dest="5">
				<expression>^(.+)::</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBRatingByIdChain>
	<ParseTMDBRating dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;rating&gt;\1&lt;/rating&gt;" dest="2">
				<expression noclean="1">&quot;vote_average&quot;:([^,]*),&quot;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;votes&gt;\1&lt;/votes&gt;" dest="2+">
				<expression noclean="1">&quot;vote_count&quot;:([0-9]+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBRating>

	<GetTMDBRatingsByIdChain dest="4" clearbuffers="no"> <!-- Expected chaining format= tmdb_id::language_for_caching-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="\2" dest="11">
				<expression>(.+)::(..)</expression>
			</RegExp>
			<RegExp input="$$1" output="\2" dest="11">
				<expression>(.+)::([^\|]*)</expression>
			</RegExp>			
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBRatings&quot; cache=&quot;tmdb-$$11-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=$$11&lt;/url&gt;" dest="5">
				<expression noclean="1">^((tt)?\d+)</expression>
			</RegExp>
			<RegExp input="$$1" output="default=&quot;true&quot;" dest="3">
				<expression clear="yes">\|default$</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBRatingsByIdChain>
	<ParseTMDBRatings dest="5">
		<RegExp input="$$2" output="&lt;details&gt;&lt;ratings&gt;&lt;rating name=&quot;themoviedb&quot; $$3&gt;\1&lt;/rating&gt;&lt;/ratings&gt;&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;value&gt;\1&lt;/value&gt;" dest="2">
				<expression noclean="1">&quot;vote_average&quot;:([^,]*),&quot;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;votes&gt;\1&lt;/votes&gt;" dest="2+">
				<expression noclean="1">&quot;vote_count&quot;:([0-9]+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBRatings>

	<GetTMDBStudioByIdChain dest="4"> <!-- Expected chaining format= tmdb_id::language_for_caching-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBStudio&quot; cache=&quot;tmdb-\2-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=\2&lt;/url&gt;" dest="5">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBStudioByIdChain>
	<ParseTMDBStudio dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="7">
				<expression clear="yes" noclean="1">&quot;production_companies&quot;:\[([^\]]*)</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;studio&gt;\1&lt;/studio&gt;" dest="2">
				<expression trim="1" fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBStudio>

	<GetTMDBCountryByIdChain dest="4"> <!-- Expected chaining format= tmdb_id::language_for_caching-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBCountry&quot; cache=&quot;tmdb-\2-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=\2&lt;/url&gt;" dest="5">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBCountryByIdChain>
	<ParseTMDBCountry dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="7">
				<expression clear="yes" noclean="1">&quot;production_countries&quot;:\[([^\]]*)</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;country&gt;\1&lt;/country&gt;" dest="2">
				<expression trim="1" fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBCountry>

	<GetTMDBTrailerByIdChain dest="4"> <!-- Expected chaining format= tmdb_id::language-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBTrailer&quot; cache=&quot;tmdb-trailer-\2-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1/trailers?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=\2&lt;/url&gt;" dest="5">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBTrailerByIdChain>
	<ParseTMDBTrailer dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="8">
				<expression noclean="1">&quot;id&quot;:([0-9]*),</expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="7">
				<expression clear="yes" noclean="1">&quot;youtube&quot;:\[\{([^\}]*)</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;trailer&gt;plugin://plugin.video.youtube/?action=play_video&amp;amp;videoid=\1&lt;/trailer&gt;" dest="9">
				<expression noclean="1">&quot;source&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<RegExp input="$$9" output="&lt;url function=&quot;ParseTMDBEnTrailer&quot; cache=&quot;tmdb-trailer-en-$$8.json&quot;&gt;https://api.tmdb.org/3/movie/$$8/trailers?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=en&lt;/url&gt;" dest="2">
				<expression>^$</expression>
			</RegExp>
			<RegExp input="$$9" output="$$9" dest="2">
				<expression>(.+)</expression>
			</RegExp>
			<expression noclean="1">(.+)</expression>
		</RegExp>
	</ParseTMDBTrailer>
	<ParseTMDBEnTrailer dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="8">
				<expression noclean="1">&quot;id&quot;:([0-9]*),</expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="7">
				<expression clear="yes" noclean="1">&quot;youtube&quot;:\[\{([^\}]*)</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;trailer&gt;plugin://plugin.video.youtube/?action=play_video&amp;amp;videoid=\1&lt;/trailer&gt;" dest="9">
				<expression noclean="1">&quot;source&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<RegExp input="$$9" output="&lt;url function=&quot;ParseTMDBAllTrailer&quot; cache=&quot;tmdb-trailer-$$8.json&quot;&gt;https://api.tmdb.org/3/movie/$$8/trailers?api_key=f090bb54758cabf231fb605d3e3e0468&lt;/url&gt;" dest="2">
				<expression>^$</expression>
			</RegExp>
			<RegExp input="$$9" output="$$9" dest="2">
				<expression>(.+)</expression>
			</RegExp>
			<expression noclean="1">(.+)</expression>
		</RegExp>
	</ParseTMDBEnTrailer>
	<ParseTMDBAllTrailer dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="7">
				<expression clear="yes" noclean="1">&quot;youtube&quot;:\[\{([^\}]*)</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;trailer&gt;plugin://plugin.video.youtube/?action=play_video&amp;amp;videoid=\1&lt;/trailer&gt;" dest="2">
				<expression noclean="1">&quot;source&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1">(.+)</expression>
		</RegExp>
	</ParseTMDBAllTrailer>

	<GetTMDBFanartByIdChain dest="4"> <!-- Expected chaining format= tmdb_id::poster_language-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="\2" dest="11">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBBaseImageURL&quot; cache=&quot;tmdb-config.json&quot;&gt;https://api.tmdb.org/3/configuration?api_key=f090bb54758cabf231fb605d3e3e0468&lt;/url&gt;" dest="5">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBFanart&quot; cache=&quot;tmdb-images-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1/images?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=$$11&amp;amp;include_image_language=$$11,en,null&lt;/url&gt;" dest="5+">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBFanartByIdChain>
	<ParseTMDBFanart dest="5">
		<RegExp input="$$2" output="&lt;details&gt;&lt;fanart&gt;\1&lt;/fanart&gt;&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="7">
				<expression clear="yes" noclean="1">&quot;backdrops&quot;:\[\{([^\]]*)</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;thumb preview=&quot;$$20w780\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="2">
				<expression clear="yes" repeat="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1">(.+)</expression>
		</RegExp>
	</ParseTMDBFanart>

	<GetTMDBThumbsByIdChain clearbuffers="no" dest="4"> <!-- Expected chaining format= tmdb_id::language-->
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="\2" dest="11">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="13">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBBaseImageURL&quot; cache=&quot;tmdb-config.json&quot;&gt;https://api.tmdb.org/3/configuration?api_key=f090bb54758cabf231fb605d3e3e0468&lt;/url&gt;" dest="5">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBThumbs&quot; cache=&quot;tmdb-images-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1/images?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=$$11&amp;amp;include_image_language=$$11,en,null&lt;/url&gt;" dest="5+">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBThumbsByIdChain>
	<ParseTMDBThumbs clearbuffers="no" dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="7">
				<expression clear="yes" noclean="1">&quot;posters&quot;:\[\{([^\]]*)</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;thumb aspect=&quot;poster&quot; preview=&quot;$$20w500\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="9">
				<expression repeat="yes" clear="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)[^:]*:[^:]*:&quot;$$11</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;thumb aspect=&quot;poster&quot; preview=&quot;$$20w500\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="9+">
				<expression repeat="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)[^:]*:[^:]*:&quot;en</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;thumb aspect=&quot;poster&quot; preview=&quot;$$20w500\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="10">
				<expression repeat="yes" clear="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)[^:]*:[^:]*:null</expression>
			</RegExp>
			<RegExp input="$$9" output="$$9" dest="2">
				<expression>(.+)</expression>
			</RegExp>
			<RegExp input="$$9" output="$$10" dest="2">
				<expression>^$</expression>
			</RegExp>
			<RegExp input="$$2" output="&lt;url function=&quot;ParseFallbackTMDBThumbs&quot;&gt;https://api.tmdb.org/3/movie/$$13/images?api_key=f090bb54758cabf231fb605d3e3e0468&lt;/url&gt;" dest="2">
				<expression>^$</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBThumbs>

	<ParseFallbackTMDBThumbs dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="7">
				<expression clear="yes" noclean="1">&quot;posters&quot;:\[\{([^\]]*)</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;thumb aspect=&quot;poster&quot; preview=&quot;$$20w500\1&quot;&gt;$$20original\1&lt;/thumb&gt;" dest="2">
				<expression repeat="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)[^:]*:[^:]*:&quot;[^&quot;]*</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseFallbackTMDBThumbs>

	<ParseTMDBBaseImageURL clearbuffers="no" dest="4">
		<RegExp input="$$5" output="&lt;details&gt;$$20&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="\1" dest="20">
				<expression>&quot;images&quot;:\{&quot;base_url&quot;:&quot;([^&quot;]*)&quot;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBBaseImageURL>

	<GetTMDBPremieredByIdChain dest="4">
		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
			<RegExp input="$$1" output="\2" dest="16">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBPremiered&quot; cache=&quot;tmdb-\2-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=\2&lt;/url&gt;" dest="5">
				<expression>(.+)::(.+)</expression>
			</RegExp>
			<RegExp input="$$16" output="$$2" dest="5">
				<RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBPremiered&quot; cache=&quot;tmdb-$INFO[tmdbcertcountry]-\1.json&quot;&gt;https://api.tmdb.org/3/movie/\1?api_key=f090bb54758cabf231fb605d3e3e0468&amp;amp;language=$INFO[tmdbcertcountry]&lt;/url&gt;" dest="2">
					<expression/>
				</RegExp>
				<expression>Keep Original</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</GetTMDBPremieredByIdChain>
	<ParseTMDBPremiered dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;premiered&gt;\1&lt;/premiered&gt;" dest="2">
				<expression noclean="1">&quot;release_date&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTMDBPremiered>

</scraperfunctions>