Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 10th, 2010  |  syntax: None  |  size: 3.23 KB  |  views: 156  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <scraperfunctions>
  2.         <GetTMDBFanartById dest="4">
  3.                 <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
  4.                         <RegExp input="$$1" output="&lt;url function=&quot;GetTMDBFanart&quot; cache=&quot;tmdb-images-tt\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;" dest="5">
  5.                                 <expression>/tt([0-9]+)</expression>
  6.                         </RegExp>
  7.                         <RegExp input="$$1" output="&lt;url function=&quot;GetTMDBFanart&quot; cache=&quot;tmdb-images-\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;" dest="5">
  8.                                 <expression>&lt;id&gt;([0-9]*)&lt;/id&gt;</expression>
  9.                         </RegExp>
  10.                         <expression noclean="1"/>
  11.                 </RegExp>
  12.         </GetTMDBFanartById>
  13.         <GetTMDBFanart dest="5">
  14.                 <RegExp input="$$2" output="&lt;details&gt;&lt;fanart&gt;\1&lt;/fanart&gt;&lt;/details&gt;" dest="5">
  15.                         <RegExp input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="3">
  16.                                 <expression noclean="1" repeat="yes">&lt;backdrop[^&gt;]*&gt;(.*?)&lt;/backdrop&gt;</expression>
  17.                         </RegExp>
  18.                         <RegExp input="$$3" output="&lt;thumb preview=&quot;\2&quot;&gt;\1\3&lt;/thumb&gt;" dest="4">
  19.                                 <expression noclean="1,3" repeat="yes">&lt;thumb&gt;(.*?)url=&quot;([^&quot;]*)&quot;(.*?)size=&quot;poster&quot;(.*?)&lt;/thumb&gt;</expression>
  20.                         </RegExp>
  21.                         <RegExp input="$$4" output="&lt;thumb\1&gt;\2&lt;/thumb&gt;" dest="2">
  22.                                 <expression repeat="yes" noclean="1">&lt;thumb([^&gt;]*)&gt;.*?url=&quot;([^&quot;]*)&quot;(.*?)size=&quot;original&quot;.*?&lt;/thumb&gt;</expression>
  23.                         </RegExp>
  24.                         <expression noclean="1"/>
  25.                 </RegExp>
  26.         </GetTMDBFanart>
  27.         <GetTMDBThumbsById dest="4">
  28.                 <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
  29.                         <RegExp input="$$1" output="&lt;url function=&quot;GetTMDBThumbs&quot; cache=&quot;tmdb-images-tt\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;" dest="5">
  30.                                 <expression>/tt([0-9]+)</expression>
  31.                         </RegExp>
  32.                         <RegExp input="$$1" output="&lt;url function=&quot;GetTMDBThumbs&quot; cache=&quot;tmdb-images-\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;" dest="5">
  33.                                 <expression>&lt;id&gt;([0-9]*)&lt;/id&gt;</expression>
  34.                         </RegExp>
  35.                         <expression noclean="1"/>
  36.                 </RegExp>
  37.         </GetTMDBThumbsById>
  38.         <GetTMDBThumbs dest="5">
  39.                 <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
  40.                         <RegExp input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="3">
  41.                                 <expression noclean="1" repeat="yes">&lt;poster[^&gt;]*&gt;(.*?)&lt;/poster&gt;</expression>
  42.                         </RegExp>
  43.                         <RegExp input="$$3" output="&lt;thumb preview=&quot;\2&quot;&gt;\1\3&lt;/thumb&gt;" dest="4">
  44.                                 <expression noclean="1,3" repeat="yes">&lt;thumb&gt;(.*?)url=&quot;([^&quot;]*)&quot;(.*?)size=&quot;mid&quot;(.*?)&lt;/thumb&gt;</expression>
  45.                         </RegExp>
  46.                         <RegExp input="$$4" output="&lt;thumb\1&gt;\2&lt;/thumb&gt;" dest="2">
  47.                                 <expression repeat="yes" noclean="1">&lt;thumb([^&gt;]*)&gt;.*?url=&quot;([^&quot;]*)&quot;(.*?)size=&quot;original&quot;.*?&lt;/thumb&gt;</expression>
  48.                         </RegExp>
  49.                         <expression noclean="1"/>
  50.                 </RegExp>
  51.         </GetTMDBThumbs>
  52. </scraperfunctions>
clone this paste RAW Paste Data