I've never write a scraper, a quick help ?
#24
Yes, my mistake (again Smile )

Code:
<?xml version="1.0" encoding="utf-8"?>
<scraper framework="1.1" date="2009-08-11" name="CentralMediaServer" content="movies" thumb="" language="en" requiressettings="false">
  <CreateSearchUrl dest="3">
    <RegExp input="$$1" output="http://localhost:52026/CMMServer/GetSearchResults.aspx?s=\1" dest="3">
      <expression noclean="1"/>
    </RegExp>
  </CreateSearchUrl>

    <GetSearchResults dest="8">
    <RegExp input="$$5" output="&lt;results sorted=&quot;Yes&quot;&gt;\1&lt;/results&gt;" dest="8">
      <RegExp input="$$1" output="&lt;entity%gt;&lt;title&gt;'\2'&lt;/title&gt;&lt;url&gt;http://localhost:52026/CMMServer/GetDetails?s=\1&lt;/url&gt;&lt;/entity&gt;" dest="5">
        <expression repeat="yes">&lt;td id="result"&gt;(.[^&lt;]*)&lt;/td&gt;</expression>
      </RegExp>
        </RegExp>
    </GetSearchResults>

  <GetDetails dest="3">
    <RegExp input="$$1" output="\1" dest="3">
      <expression noclean="1"/>
    </RegExp>
  </GetDetails>
</scraper>

This one seems to be wellformed, but doesn't work Sad

I have problem around $$5 $$8, I understand not very well buffer systems...
Reply


Messages In This Thread
[No subject] - by spiff - 2009-08-25, 16:45
[No subject] - by small_frenchy - 2009-08-25, 17:27
[No subject] - by spiff - 2009-08-25, 17:29
[No subject] - by flobbes - 2009-08-25, 17:33
[No subject] - by small_frenchy - 2009-08-25, 17:34
[No subject] - by spiff - 2009-08-25, 17:38
[No subject] - by small_frenchy - 2009-08-25, 17:42
[No subject] - by spiff - 2009-08-25, 17:44
[No subject] - by small_frenchy - 2009-08-25, 17:46
[No subject] - by spiff - 2009-08-25, 17:47
[No subject] - by small_frenchy - 2009-08-25, 17:49
[No subject] - by DaveGee - 2009-08-25, 20:29
[No subject] - by spiff - 2009-08-25, 20:45
[No subject] - by small_frenchy - 2009-08-26, 07:35
[No subject] - by spiff - 2009-08-26, 09:43
[No subject] - by small_frenchy - 2009-08-26, 09:52
[No subject] - by small_frenchy - 2009-08-26, 11:48
[No subject] - by spiff - 2009-08-26, 12:11
[No subject] - by small_frenchy - 2009-08-26, 12:56
[No subject] - by small_frenchy - 2009-08-26, 13:07
[No subject] - by small_frenchy - 2009-08-26, 15:18
[No subject] - by spiff - 2009-08-26, 15:32
[No subject] - by small_frenchy - 2009-08-26, 15:40
[No subject] - by spiff - 2009-08-26, 15:46
[No subject] - by small_frenchy - 2009-08-26, 15:48
[No subject] - by spiff - 2009-08-26, 15:56
[No subject] - by small_frenchy - 2009-08-26, 16:13
[No subject] - by spiff - 2009-08-26, 16:15
[No subject] - by small_frenchy - 2009-08-26, 16:34
[No subject] - by spiff - 2009-08-26, 16:40
[No subject] - by small_frenchy - 2009-08-26, 17:11
[No subject] - by spiff - 2009-08-26, 17:13
[No subject] - by small_frenchy - 2009-08-26, 17:29
Logout Mark Read Team Forum Stats Members Help
I've never write a scraper, a quick help ?0