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
IMDb+ Scraper (Force English title, Auto-Rename titles to group, and more) v3.1.7
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="RoChess" data-source="post: 730820" data-attributes="member: 18896"><p><strong>Re: IMDb+ Scraper (Force English titles, Auto-Rename titles to group, and more) v3.1.</strong></p><p></p><p></p><p></p><p>Your test tool probably doesn't ignore whitespace then, but the default parsing settings that MovPic uses does. Normally I would use \s myself as well, but in this case it allows the complex code to be a little bit easier to read for those that wish to edit it. And yes, you can go as complex as you want, if you look at the rest of the scraper script, you can see that I had to resort to some borderline crazy methods to find a workaround for the English title problem at imdb.</p><p></p><p>And yes for the special editions to work, you need to also provide the IMDb tt-ID during the search node process. This means it has to be inside an NFO file (with simple NFO scanning enabled), or part of the filename. You could also provide it manually during import (that binocular icon), but that would kinda defeat the purpose. The reason for this is because I abuse the AKA field to transfer the filename details from search node to details node. I can only reliable do this when I already know the AKA field is not going to be used to decide if the title found can be auto-approved. This is why it only works when the IMDb tt-ID is provided, otherwise you might end up having to manually approve a lot of movies.</p><p></p><p>I probably should have had another look at the noise filter regex we build together, as we put most scene convention possabilities in there, but this is like the beta implementation, so I wanted to keep it as simple as possible first. By enforcing brackets around the special edition string, I knew I would avoid any false positives. But whatever you come up with, please share and I'll incorporate it into the next version, so that the scraper will work easier for more users out of the box.</p><p></p><p></p><p></p><p>Yikes, can't believe I overlooked those, as I have both series myself, thanks for catching those <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Austin Powers I will show as follows:</p><p></p><ul style="margin-left: 20px"> <li data-xf-list-type="ul">Austin Powers I: International Man of Mystery</li> <li data-xf-list-type="ul">Austin Powers II: The Spy Who Shagged Me</li> <li data-xf-list-type="ul">Austin Powers III: Goldmember</li> <li data-xf-list-type="ul">Austin Powers IV: (Not Yet Released)</li> </ul><p></p><p>As for The Karate kid series, I'll use the working title to seperate the 2010 remake as "The Kung Fu Kid", which production wise is the 5th movie in the series.</p><p></p><ul style="margin-left: 20px"> <li data-xf-list-type="ul">The Karate Kid I</li> <li data-xf-list-type="ul">The Karate Kid II</li> <li data-xf-list-type="ul">The Karate Kid III</li> <li data-xf-list-type="ul">The Karate Kid IV: The Next Karate Kid</li> <li data-xf-list-type="ul">The Karate Kid V: The Kung Fu Kid</li> </ul><p></p><p>If you want to add them yourself right now, add the following to the XML file:</p><p></p><p style="margin-left: 20px">[code]</p> <p style="margin-left: 20px"> <rename id="tt0118655" title="Austin Powers I: International Man of Mystery" /></p> <p style="margin-left: 20px"> <rename id="tt0145660" title="Austin Powers II: The Spy Who Shagged Me" /></p> <p style="margin-left: 20px"> <rename id="tt0295178" title="Austin Powers III: Goldmember" /></p> <p style="margin-left: 20px"> <rename id="tt1218992" title="Austin Powers IV: (Not Yet Released)" /></p> <p style="margin-left: 20px"> <rename id="tt0087538" title="The Karate Kid I" /></p> <p style="margin-left: 20px"> <rename id="tt0091326" title="The Karate Kid II" /></p> <p style="margin-left: 20px"> <rename id="tt0097647" title="The Karate Kid III" /></p> <p style="margin-left: 20px"> <rename id="tt0110657" title="The Karate Kid IV: The Next Karate Kid" /></p> <p style="margin-left: 20px"> <rename id="tt1155076" title="The Karate Kid V: The Kung Fu Kid" /></p> <p style="margin-left: 20px">[/code]</p><p></p><p>Or wait till I've finished all the other edits I wanted to do and upload a new XML file to this thread.</p></blockquote><p></p>
[QUOTE="RoChess, post: 730820, member: 18896"] [b]Re: IMDb+ Scraper (Force English titles, Auto-Rename titles to group, and more) v3.1.[/b] Your test tool probably doesn't ignore whitespace then, but the default parsing settings that MovPic uses does. Normally I would use \s myself as well, but in this case it allows the complex code to be a little bit easier to read for those that wish to edit it. And yes, you can go as complex as you want, if you look at the rest of the scraper script, you can see that I had to resort to some borderline crazy methods to find a workaround for the English title problem at imdb. And yes for the special editions to work, you need to also provide the IMDb tt-ID during the search node process. This means it has to be inside an NFO file (with simple NFO scanning enabled), or part of the filename. You could also provide it manually during import (that binocular icon), but that would kinda defeat the purpose. The reason for this is because I abuse the AKA field to transfer the filename details from search node to details node. I can only reliable do this when I already know the AKA field is not going to be used to decide if the title found can be auto-approved. This is why it only works when the IMDb tt-ID is provided, otherwise you might end up having to manually approve a lot of movies. I probably should have had another look at the noise filter regex we build together, as we put most scene convention possabilities in there, but this is like the beta implementation, so I wanted to keep it as simple as possible first. By enforcing brackets around the special edition string, I knew I would avoid any false positives. But whatever you come up with, please share and I'll incorporate it into the next version, so that the scraper will work easier for more users out of the box. Yikes, can't believe I overlooked those, as I have both series myself, thanks for catching those :) Austin Powers I will show as follows: [INDENT][LIST][*]Austin Powers I: International Man of Mystery [*]Austin Powers II: The Spy Who Shagged Me [*]Austin Powers III: Goldmember [*]Austin Powers IV: (Not Yet Released)[/LIST][/INDENT] As for The Karate kid series, I'll use the working title to seperate the 2010 remake as "The Kung Fu Kid", which production wise is the 5th movie in the series. [INDENT][LIST][*]The Karate Kid I [*]The Karate Kid II [*]The Karate Kid III [*]The Karate Kid IV: The Next Karate Kid [*]The Karate Kid V: The Kung Fu Kid[/LIST][/INDENT] If you want to add them yourself right now, add the following to the XML file: [indent][code] <rename id="tt0118655" title="Austin Powers I: International Man of Mystery" /> <rename id="tt0145660" title="Austin Powers II: The Spy Who Shagged Me" /> <rename id="tt0295178" title="Austin Powers III: Goldmember" /> <rename id="tt1218992" title="Austin Powers IV: (Not Yet Released)" /> <rename id="tt0087538" title="The Karate Kid I" /> <rename id="tt0091326" title="The Karate Kid II" /> <rename id="tt0097647" title="The Karate Kid III" /> <rename id="tt0110657" title="The Karate Kid IV: The Next Karate Kid" /> <rename id="tt1155076" title="The Karate Kid V: The Kung Fu Kid" /> [/code][/indent] Or wait till I've finished all the other edits I wanted to do and upload a new XML file to this thread. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
IMDb+ Scraper (Force English title, Auto-Rename titles to group, and more) v3.1.7
Contact us
RSS
Top
Bottom