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
IMDb+
Danish Support
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: 884793" data-attributes="member: 18896"><p>1. IMDb in their stoopidity decided to give each user around the world a different website depending on their browsers language setting. You obviously have da/dk setup in your OS/browser, which IMDb detects. It then looks at the AKA titles and if a da/dk title is present it shows that to you. However to me in the US it shows a different time, and a different one to a German user, etc. Also the only way to properly search on IMDb I'm actually forced to use <strong><a href="http://akas.imdb.com/" target="_blank">http://akas.imdb.com/</a></strong> during search-node, which then all of a sudden gives different results on titles as well. The only way to fix this is to login on the IMDb website and then in your user settings you can define what language you want. This is however not something I can do at scraper-script level.</p><p> </p><p><a href="http://akas.imdb.com/title/tt0426955/" target="_blank">http://akas.imdb.com/title/tt0426955/</a></p><p><a href="http://www.imdb.com/title/tt0426955/" target="_blank">http://www.imdb.com/title/tt0426955/</a></p><p> </p><p>AKA = <a href="http://www.imdb.com/title/tt0426955/releaseinfo#akas" target="_blank">http://www.imdb.com/title/tt0426955/releaseinfo#akas</a> (where you can indeed see the Danish entry that is used for you due to da/dk settings)</p><p> </p><p>The whole reason for IMDb+ in the beginning was to force English titles. So I use a complex system of regular expressions to find that English title and use it. However it quickly become a scraper-script not just for me, but for many others, so I did not mind adding in options to make other users happy. One user wanted this, another that and before you know it we're at the frankenstein monster sorta speak that it is today <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>Since IMDb.com website sprung up clones in localized languages, such as imdb.de (German), imdb.it (Italy) and many others, it was easy for me to include direct title support for those. I first lookup title at akas.imdb.com and once I located the IMDb tt-ID then I grab the Secondary Language details from the imdb.de website and combine those with the imdb.com info I already obtained.</p><p> </p><p>2. That's what the seconday language does, and I planned to use scope.dk for that for Danish users, but that's the problem. I only have the IMDb tt-ID at my disposal and I need a direct link to the scrope.dk ID system then.</p><p> </p><p>For 'Avatar' for example I can use:</p><p> </p><p style="margin-left: 20px">Search = <a href="http://akas.imdb.com/find?s=tt&q=Avatar" target="_blank">http://akas.imdb.com/find?s=tt&q=Avatar</a> (this eventually allows me to get 'tt0499549')</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">So I can get English: <a href="http://www.imdb.com/title/tt0499549" target="_blank">http://www.imdb.com/title/tt<span style="color: #063b5e">0499549</span></a></p> <p style="margin-left: 20px"></p><p>Then the SecondaryLanguage details can become:</p><p> </p><p style="margin-left: 20px">German: <a href="http://www.imdb.de/title/tt0499549" target="_blank">http://www.imdb.de/title/tt0499549</a></p> <p style="margin-left: 20px">Spanish: <a href="http://www.imdb.es/title/tt0499549" target="_blank">http://www.imdb.es/title/tt0499549</a></p> <p style="margin-left: 20px">French: <a href="http://www.imdb.fr/title/tt0499549" target="_blank">http://www.imdb.fr/title/tt0499549</a></p> <p style="margin-left: 20px">Italian: <a href="http://www.imdb.it/title/tt0499549" target="_blank">http://www.imdb.it/title/tt0499549</a></p> <p style="margin-left: 20px">Swedish: <a href="http://www.nyheter24.se/filmtipset/imdb/tt0499549" target="_blank">http://www.nyheter24.se/filmtipset/imdb/tt0499549</a> (IMDb tt-ID lookup)</p> <p style="margin-left: 20px">Dutch: <a href="http://blixy.net/mp/moviemeter/proxy.php?imdb=tt0499549" target="_blank">http://blixy.net/mp/moviemeter/proxy.php?imdb=tt0499549</a> (IMDb tt-ID proxy lookup via one of my servers)</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">Additional Ratings via RottenTomatoes: <a href="http://rottentomatoes.com/alias?type=imdbid&s=0499549" target="_blank">http://rottentomatoes.com/alias?type=imdbid&s=0499549</a> (the other ratings are obtained from IMDb)</p><p></p><p>Hopefully that explains the technical side more. I build the darn thing, and even I feel confused sometimes due to all the options and conditions <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>I could indeed use the Danish title infromation available at IMDb website as secondary language as well, the problem is that IMDb does not have a good trackrecord on that information. It is also very hard for me to reliably test that due to me being in the US. But I'll mess around again soon to see if there are header manipulations I can do or setup proxy's to pretend to be located in Denmark.</p><p> </p><p>Just a little difficult managing life, work and all the other things currently. Not an excuse, just life and I'm trying to arrange some time again to delve deep into IMDb+ to expand it, so stay tuned.</p></blockquote><p></p>
[QUOTE="RoChess, post: 884793, member: 18896"] 1. IMDb in their stoopidity decided to give each user around the world a different website depending on their browsers language setting. You obviously have da/dk setup in your OS/browser, which IMDb detects. It then looks at the AKA titles and if a da/dk title is present it shows that to you. However to me in the US it shows a different time, and a different one to a German user, etc. Also the only way to properly search on IMDb I'm actually forced to use [B][url]http://akas.imdb.com/[/url][/B] during search-node, which then all of a sudden gives different results on titles as well. The only way to fix this is to login on the IMDb website and then in your user settings you can define what language you want. This is however not something I can do at scraper-script level. [url]http://akas.imdb.com/title/tt0426955/[/url] [url]http://www.imdb.com/title/tt0426955/[/url] AKA = [url]http://www.imdb.com/title/tt0426955/releaseinfo#akas[/url] (where you can indeed see the Danish entry that is used for you due to da/dk settings) The whole reason for IMDb+ in the beginning was to force English titles. So I use a complex system of regular expressions to find that English title and use it. However it quickly become a scraper-script not just for me, but for many others, so I did not mind adding in options to make other users happy. One user wanted this, another that and before you know it we're at the frankenstein monster sorta speak that it is today :) Since IMDb.com website sprung up clones in localized languages, such as imdb.de (German), imdb.it (Italy) and many others, it was easy for me to include direct title support for those. I first lookup title at akas.imdb.com and once I located the IMDb tt-ID then I grab the Secondary Language details from the imdb.de website and combine those with the imdb.com info I already obtained. 2. That's what the seconday language does, and I planned to use scope.dk for that for Danish users, but that's the problem. I only have the IMDb tt-ID at my disposal and I need a direct link to the scrope.dk ID system then. For 'Avatar' for example I can use: [INDENT=1]Search = [url]http://akas.imdb.com/find?s=tt&q=Avatar[/url] (this eventually allows me to get 'tt0499549')[/INDENT] [INDENT=1] [/INDENT] [INDENT=1]So I can get English: [URL='http://www.imdb.com/title/tt0499549']http://www.imdb.com/title/tt[COLOR=#063b5e]0499549[/COLOR][/URL][/INDENT] [INDENT=1] [/INDENT] Then the SecondaryLanguage details can become: [INDENT=1]German: [url]http://www.imdb.de/title/tt0499549[/url][/INDENT] [INDENT=1]Spanish: [url]http://www.imdb.es/title/tt0499549[/url][/INDENT] [INDENT=1]French: [url]http://www.imdb.fr/title/tt0499549[/url][/INDENT] [INDENT=1]Italian: [url]http://www.imdb.it/title/tt0499549[/url][/INDENT] [INDENT=1]Swedish: [url]http://www.nyheter24.se/filmtipset/imdb/tt0499549[/url] (IMDb tt-ID lookup)[/INDENT] [INDENT=1]Dutch: [url]http://blixy.net/mp/moviemeter/proxy.php?imdb=tt0499549[/url] (IMDb tt-ID proxy lookup via one of my servers)[/INDENT] [INDENT=1] [/INDENT] [INDENT=1]Additional Ratings via RottenTomatoes: [url]http://rottentomatoes.com/alias?type=imdbid&s=0499549[/url] (the other ratings are obtained from IMDb)[/INDENT] Hopefully that explains the technical side more. I build the darn thing, and even I feel confused sometimes due to all the options and conditions :) I could indeed use the Danish title infromation available at IMDb website as secondary language as well, the problem is that IMDb does not have a good trackrecord on that information. It is also very hard for me to reliably test that due to me being in the US. But I'll mess around again soon to see if there are header manipulations I can do or setup proxy's to pretend to be located in Denmark. Just a little difficult managing life, work and all the other things currently. Not an excuse, just life and I'm trying to arrange some time again to delve deep into IMDb+ to expand it, so stay tuned. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
IMDb+
Danish Support
Contact us
RSS
Top
Bottom