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
FilmInfo+ - A german movie details scraper with auto grouping
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="bta489" data-source="post: 1249644" data-attributes="member: 138471"><p>I haven't touched the Collections-Section (yet), and to be quite frank I don't really know how it's supposed to work. Assuming that the original logic still works as intended, I took a quick look at the RegEx-Patterns and tried to adjust them to the current IMDB-Website. Try replacing the whole block of Patterns at around line 1169 to 1196 in the .xml with this:</p><p></p><p>[CODE] <set name="rx_followedby_block"></p><p> <![CDATA[</p><p> (?:<h4\sclass="li_group">\s*Followed\sby&nbsp;\s*</h4>\s*)([\s\S]+?)(?=<\s*a\sid=)</p><p> ]]></p><p> </set></p><p> <set name="rx_follows_block"></p><p> <![CDATA[</p><p> (?:<h4\sclass="li_group">\s*Follows&nbsp;\s*</h4>\s*)(?<follows_block>[\s\S]+?)(?=<\s*a\sid=)</p><p> ]]></p><p> </set></p><p> <set name="rx_follow_links"></p><p> <![CDATA[</p><p> (?:a\shref="/title/)(?<IMDB_ID>tt\d{7,})(?:/*">)(?<TITLE>.*?)(?:</a>.+?\()(?<YEAR>\d{4})(?:\))</p><p> ]]></p><p> </set></p><p> <set name="rx_spinoff_block"></p><p> <![CDATA[</p><p> (?:<h4\sclass="li_group">Spin-off&nbsp;\s*</h4>\s*)(?<followedby_block>[\s\S]+?)(?=<a\sid)</p><p> ]]></p><p> </set></p><p> <set name="rx_spinofffrom_block"></p><p> <![CDATA[</p><p> (?:<h4\sclass="li_group">Spun-off\sfrom&nbsp;</h4>\s*)([\s\S]*?)(?=<a\sid)</p><p> ]]></p><p> </set></p><p> <set name="rx_quot_replace"></p><p> <![CDATA["]]></p><p> </set>[/CODE]</p><p></p><p>Then delete and add the Importer again in the Config and try again. I tested with 2 Movies and it returned a Collection for Both.</p><p></p><p>Not sure though why there's no English summary fallback. I'd have to take a deeper look. [USER=80591]@hasengrube[/USER] Can you post Logs (file "<em>movingpictures.log</em>", Debug-Level if possible) of an import where it failed to fetch a summary?</p></blockquote><p></p>
[QUOTE="bta489, post: 1249644, member: 138471"] I haven't touched the Collections-Section (yet), and to be quite frank I don't really know how it's supposed to work. Assuming that the original logic still works as intended, I took a quick look at the RegEx-Patterns and tried to adjust them to the current IMDB-Website. Try replacing the whole block of Patterns at around line 1169 to 1196 in the .xml with this: [CODE] <set name="rx_followedby_block"> <![CDATA[ (?:<h4\sclass="li_group">\s*Followed\sby \s*</h4>\s*)([\s\S]+?)(?=<\s*a\sid=) ]]> </set> <set name="rx_follows_block"> <![CDATA[ (?:<h4\sclass="li_group">\s*Follows \s*</h4>\s*)(?<follows_block>[\s\S]+?)(?=<\s*a\sid=) ]]> </set> <set name="rx_follow_links"> <![CDATA[ (?:a\shref="/title/)(?<IMDB_ID>tt\d{7,})(?:/*">)(?<TITLE>.*?)(?:</a>.+?\()(?<YEAR>\d{4})(?:\)) ]]> </set> <set name="rx_spinoff_block"> <![CDATA[ (?:<h4\sclass="li_group">Spin-off \s*</h4>\s*)(?<followedby_block>[\s\S]+?)(?=<a\sid) ]]> </set> <set name="rx_spinofffrom_block"> <![CDATA[ (?:<h4\sclass="li_group">Spun-off\sfrom </h4>\s*)([\s\S]*?)(?=<a\sid) ]]> </set> <set name="rx_quot_replace"> <![CDATA["]]> </set>[/CODE] Then delete and add the Importer again in the Config and try again. I tested with 2 Movies and it returned a Collection for Both. Not sure though why there's no English summary fallback. I'd have to take a deeper look. [USER=80591]@hasengrube[/USER] Can you post Logs (file "[I]movingpictures.log[/I]", Debug-Level if possible) of an import where it failed to fetch a summary? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
FilmInfo+ - A german movie details scraper with auto grouping
Contact us
RSS
Top
Bottom