a pastebin project

Untitled

  1. <scraper name="AsianDB" content="movies" thumb="asiandb.gif">
  2.         <NfoUrl dest="3">
  3.                 <RegExp input="$$1" output="&lt;url&gt;http://www.asiandb.com/browse/movie_detail.pfm?code=\1&lt;url&gt;"  dest="3">
  4.                         <expression noclean="1">asiandb.com/browse/movie_detail.pfm?code=([0-9]*)</expression>
  5.                 </RegExp>       
  6.         </NfoUrl>
  7.         <CreateSearchUrl dest="3">
  8.                 <RegExp input="$$1" output="&lt;url spoof=&quot;http://www.asiandb.com/browse/advanced.pfm&quot; post=&quot;true&quot;&gt;http://www.asiandb.com/browse/advanced.pfm?text=\1&amp;amp;x=0&amp;amp;y=0&amp;amp;part=movie&lt;/url&gt;" dest="3">
  9.                         <expression noclean="1"></expression>
  10.                 </RegExp>       
  11.         </CreateSearchUrl>
  12.  
  13. <GetSearchResults dest="3">
  14.     <RegExp input="$$5" output="&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot; standalone=&quot;yes&quot;?&gt;&lt;results&gt;\1&lt;/results&gt;" dest="3">
  15.         <RegExp input="$$1" output="&lt;entity&gt;&lt;title&gt;\2&lt;/title&gt;&lt;url&gt;http://www.asiandb.com/browse/movie_detail.pfm?code=\1&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;" dest="5">
  16.             <expression repeat="yes">&lt;a href=/browse/movie_detail.pfm\?code=([0-9]+)&gt;&lt;font class=e3b&gt;(.[^&lt;]*)&lt;/font&gt;</expression>
  17.         </RegExp>
  18.         <expression noclean="1"></expression>
  19.     </RegExp>
  20. </GetSearchResults>
  21.  
  22. <GetDetails dest="3">
  23.                 <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="3">
  24.  
  25. <!--Title -->
  26.                         <RegExp input="$$1" output="&lt;title&gt;\1&lt;/title&gt;" dest="5">
  27.                                 <expression trim="1" noclean="1">&lt;td valign=top&gt;&lt;font class=e5b&gt;([^&lt;]*)&lt;</expression>
  28.                         </RegExp>
  29.  
  30. <!--Original Title
  31.                         <RegExp input="$$1" output="&lt;originaltitle&gt;\1&lt;/originaltitle&gt;" dest="5">
  32.                                 <expression>Titolo originale.[^z]*ze=&quot;2&quot;&gt;([^)&lt;]*)</expression>
  33.                         </RegExp> -->
  34.                        
  35. <!--Year Film-->
  36.                         <RegExp input="$$1" output="&lt;year&gt;\1&lt;/year&gt;" dest="5+">
  37.                                 <expression>&lt;font class=e3&gt;\(([0-9]+)\)</expression>
  38.                         </RegExp>
  39.                        
  40. <!--Director-->
  41.                         <RegExp input="$$7" output="&lt;director&gt;\1&lt;/director&gt;" dest="5+">
  42.                                 <RegExp input="$$1" output="\1" dest="7">
  43.                                         <expression trim="1" noclean="1">&lt;font class=h0b color=white&gt;Crew&lt;/font&gt;(.*)</expression>
  44.                                 </RegExp>
  45.                                 <expression repeat="yes">&lt;b&gt;Director: &lt;/b[^\n]*&gt;([A-Za-z][^&lt;]*)&lt;</expression>
  46.                         </RegExp>
  47.  
  48. <!--Runtime Film-->
  49.                         <RegExp input="$$1" output="&lt;runtime&gt;\1&lt;/runtime&gt;" dest="5+">
  50.                                 <expression>&lt;b&gt;Runtime:&lt;/b&gt;([^&lt;]*)&lt;</expression>
  51.                         </RegExp>
  52.  
  53. <!--Thumbnail -->
  54.                         <RegExp input="$$1" output="&lt;thumb&gt;http://www.asiandb.com\1&lt;/thumb&gt;" dest="5+">
  55.                                 <expression noclean="1">(/data/title/mini/[^&quot; ]*)</expression>
  56.                         </RegExp>                     
  57.                                                
  58. <!--User rating-->
  59.                         <RegExp input="$$1" output="&lt;rating&gt;\1&lt;/rating&gt;" dest="5+">
  60.                                 <expression>&gt;Users&lt;/td&gt;.*img src=/images/rate/[0-9]+.gif&gt;\(([0-9]+)/10\)</expression>
  61.                         </RegExp>
  62.  
  63. <!--Vote count-->
  64.                         <RegExp input="$$1" output="&lt;votes&gt;\1&lt;/votes&gt;" dest="5+">
  65.                                 <expression>&lt;font class=e2&gt;&amp;nbsp;\[([0-9]+)\]&amp;nbsp;&amp;nbsp;&lt;/font&gt;</expression>
  66.                         </RegExp>
  67.  
  68. <!--Genre Film-->
  69.                         <RegExp input="$$7" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="5+">
  70.                                 <RegExp input="$$1" output="\1" dest="7">
  71.                                         <expression trim="1" noclean="1">&lt;b&gt;Genre:(.*)&lt;b&gt;Production:</expression>
  72.                                 </RegExp>
  73.                                 <expression repeat="yes">/browse/search.pfm\?mode=genre&amp;query=[^&gt;]*&gt;([^&lt;]*)&lt;</expression>
  74.                         </RegExp>
  75.  
  76. <!--Actors -->
  77.                         <RegExp input="$$7" output="&lt;actor&gt;&lt;name&gt;\1&lt;/name&gt;&lt;/actor&gt;" dest="5+">
  78.                                 <RegExp input="$$1" output="\1" dest="7">
  79.                                         <expression trim="1" noclean="1">&lt;b&gt;Starring&lt;/b&gt;:(.*)&lt;b&gt;Director:&lt;/b&gt;</expression>
  80.                                 </RegExp>
  81.                                 <expression repeat="yes">&quot;&gt;([^&lt;]+)&lt;/a&gt;</expression>
  82.                         </RegExp>
  83.  
  84.  
  85. <!--Writer-->
  86.                         <RegExp input="$$7" output="&lt;credits&gt;\1&lt;/credits&gt;" dest="5+">
  87.                                 <RegExp input="$$1" output="\1" dest="7">
  88.                                         <expression trim="1" noclean="1">&lt;font class=h0b color=white&gt;Crew&lt;/font&gt;(.*)</expression>
  89.                                 </RegExp>
  90.                                 <expression repeat="yes">&lt;b&gt;Writer: &lt;/b[^\n]*&gt;([A-Za-z][^&lt;]*)&lt;</expression>
  91.                         </RegExp>
  92. <!--Plot -->
  93.                         <RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
  94.                                 <expression trim="1">Synopsis&lt;/td&gt;&lt;/table&gt;&lt;div[^&gt;]*&gt;&lt;table[^&gt;]*&gt;&lt;td[^&gt;]*&gt;&lt;img[^&gt;]*&gt;(.*)&lt;/td&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;</expression>
  95.             </RegExp>
  96.  
  97.                         <expression noclean="1"></expression>
  98.                 </RegExp>
  99.  </GetDetails> 
  100. </scraper>

advertising

Create a Paste

Please enter your new post below (or upload a file instead):





Please note that information posted here will not expire by default. If you want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords.

worth-right
fantasy-obligation