XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Scraper Development

Scraper Development Developers forum for meta data scrapers. Scraper developers only!
Not for posting feature requests, bugs, or end-user support requests!

Reply
 
Thread Tools Search this Thread Display Modes
Old 2008-09-08, 00:04   #1
cannabik91
Junior Member
 
Join Date: Sep 2008
Posts: 2
cannabik91 is on a distinguished road
Default fandecinema.com

hello I come to start a scrap for the site http://www.fan-de-cinema.com and I blocks already. If someone could help me (sorry for my bad english)
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<scraper name="fandecinema" content="movies" thumb="fandecinema.jpg">

	<NfoUrl dest="3">

		<RegExp input="$$1" output="http://www.fan-de-cinema.com/films/\1.html"  dest="3">

			<expression clear="yes" noclean="1">fan-de-cinema.com/films/([^\.]*)\.html</expression>

		</RegExp>

	</NfoUrl>



	<CreateSearchUrl dest="3">

		<RegExp input="$$1" output="http://www.fan-de-cinema.com/cherche.html?f=1&amp;a=1&amp;c=1&amp;s=1&amp;recherche=\1&amp;go.x=1&amp;go.y=1" dest="3">

			<expression noclean="1"></expression>
		</RegExp>

	</CreateSearchUrl>



	<GetSearchResults dest="8">

		<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="8">


			<RegExp input="$$1" output="&lt;entity&gt;&lt;title&gt;\2&lt;/title&gt;&lt;url cache=&quot;\1.html&quot;&gt;http://www.fan-de-cinema.com/films/\1.html&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;" dest="5">

				<expression repeat="yes">&lt;div class=&quot;titrefilm&quot;[^/]+/films/([^\.]*)\.html&quot;&gt;([^&lt;]*)&lt;/a&gt;&lt;/div&gt;</expression>

			</RegExp>

			<expression noclean="1"></expression>

		</RegExp>

	</GetSearchResults>



	<GetDetails clearbuffers="no" dest="3">

		<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="3">

<!-- TITLE -->	

  			
                        <RegExp input="$$1" output="&lt;title&gt;\1&lt;/title&gt;" dest="5+">

				<expression trim="1" noclean="1">&lt;h1&gt;([^&lt;]*)&lt;</expression>

			</RegExp>
                        
       	         </RegExp>

	</GetDetails>

</scraper>
cannabik91 is offline   Reply With Quote
Old 2008-09-08, 00:12   #2
cannabik91
Junior Member
 
Join Date: Sep 2008
Posts: 2
cannabik91 is on a distinguished road
Default

i m not say where come the probleme :GetSearchResults
cannabik91 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:37.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project