home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Help making Scraper
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Schenk2302" data-source="post: 386836" data-attributes="member: 82475"><p>Hi LRFalk01,</p><p></p><p>thanky you very much for your help, your my new hero. This is working now but i got a little problem now, which i don't know to change.</p><p></p><p>[CODE] <set name="rx_search_results"></p><p> <![CDATA[</p><p> <a\shref="/kino/(?<movieID>[\d]+)[^<]+[^>]+>(?<movieTitle>[^<]+)[^\n]+\n[^O]+OT..(?<movieOT>[^<]+)[^\d]+(?<movieYear>\d{4})</p><p> ]]></p><p> </set></p><p></p><p> <!-- Retrieve results using Title --></p><p> <retrieve name="search_page" url="http://www.cinefacts.de/suche/suche.php?name=${search.title:safe}" /></p><p></p><p> <!-- if we got a details page, this is used. if not, regex does not match so we dont process the loop--></p><p> <parse name="details_page_block" input="${search_page}" regex="${rx_search_results}"/></p><p> <if test="details_page_block[0][0]!="></p><p> <loop name="item_return" on="details_page_block"></p><p> <add name="counter" value1="${count}" value2="${offset}" /></p><p> <set name="movie[${counter}].title" value="${item_return[1]:htmldecode}"/></p><p> <set name="movie[${counter}].alternate_titles" value="${item_return[2]:htmldecode}" /></p><p> <!-- tests the existance of a year before trying to put on in the movie info --></p><p> <if test="${item_return[3]}!="></p><p> <set name="movie[${counter}].year" value="${item_return[3]:htmldecode}"/></p><p> </if></p><p> <set name="movie[${counter}].site_id" value="${item_return[0]}"/></p><p> <set name="movie[${counter}].details_url" value="http://www.cinefacts.de/kino/${item_return[0]}/[COLOR="Red"]${item_return[1]}/[/COLOR]filmdetails.html"/>[/CODE]</p><p></p><p>The red is filled thru the regex with for example Zeiten des Aufruhrs, but the link needs zeiten_des_aufruhrs !!!</p><p></p><p>Don't know how to set this up because i need this now for the <action>get details retrieve url.</p><p></p><p>Maybe you could help me out there too.</p><p></p><p>Thanks so much again</p><p></p><p>Schenk</p></blockquote><p></p>
[QUOTE="Schenk2302, post: 386836, member: 82475"] Hi LRFalk01, thanky you very much for your help, your my new hero. This is working now but i got a little problem now, which i don't know to change. [CODE] <set name="rx_search_results"> <![CDATA[ <a\shref="/kino/(?<movieID>[\d]+)[^<]+[^>]+>(?<movieTitle>[^<]+)[^\n]+\n[^O]+OT..(?<movieOT>[^<]+)[^\d]+(?<movieYear>\d{4}) ]]> </set> <!-- Retrieve results using Title --> <retrieve name="search_page" url="http://www.cinefacts.de/suche/suche.php?name=${search.title:safe}" /> <!-- if we got a details page, this is used. if not, regex does not match so we dont process the loop--> <parse name="details_page_block" input="${search_page}" regex="${rx_search_results}"/> <if test="details_page_block[0][0]!="> <loop name="item_return" on="details_page_block"> <add name="counter" value1="${count}" value2="${offset}" /> <set name="movie[${counter}].title" value="${item_return[1]:htmldecode}"/> <set name="movie[${counter}].alternate_titles" value="${item_return[2]:htmldecode}" /> <!-- tests the existance of a year before trying to put on in the movie info --> <if test="${item_return[3]}!="> <set name="movie[${counter}].year" value="${item_return[3]:htmldecode}"/> </if> <set name="movie[${counter}].site_id" value="${item_return[0]}"/> <set name="movie[${counter}].details_url" value="http://www.cinefacts.de/kino/${item_return[0]}/[COLOR="Red"]${item_return[1]}/[/COLOR]filmdetails.html"/>[/CODE] The red is filled thru the regex with for example Zeiten des Aufruhrs, but the link needs zeiten_des_aufruhrs !!! Don't know how to set this up because i need this now for the <action>get details retrieve url. Maybe you could help me out there too. Thanks so much again Schenk [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Help making Scraper
Contact us
RSS
Top
Bottom