Page 14 of 15
Posted: 2010-11-15 22:16:18
by LeMoi
Still no solution for this bug ?
Posted: 2010-11-16 23:23:01
by bad4u
LeMoi wrote:Still no solution for this bug ?
Are you talking about a modified script for "akas" site again ? Else I don't know what exactly you mean by "detects that you're in france", as that's not in the script..
Posted: 2010-11-16 23:30:52
by LeMoi
I don't know, maybe it's automatic from the imdb site, but the script does display the french title instead of the original title
Posted: 2010-11-17 07:53:06
by bad4u
I see. Indeed they detect user's IP to switch results to different languages now.
http://www.imdb.com/help/show_leaf?titlelanguagedisplay
I'll see what I can do, but not sure what's the best solution yet. Keep localized results list and just pass the translated/original titles to different fields or use akas site, which always lists original title as results. Both have pros and cons (different results for users might lead to unpredictable results and it is worse if it comes to finding/fixing bugs e.g. it lists german results for me and users have no chance to switch to english "default" site anymore vs. original titles on akas site use non ASCII characters which you can't import without UTF8 support, so you have to address this in results list). Not sure if I'll find time before weekend if it needs bigger changes.
Posted: 2010-11-17 12:17:45
by antp
bad4u wrote:vs. original titles on akas site use non ASCII characters which you can't import without UTF8 support, so you have to address this in results list
What do you mean?
Posted: 2010-11-17 19:10:30
by bad4u
antp wrote:bad4u wrote:vs. original titles on akas site use non ASCII characters which you can't import without UTF8 support, so you have to address this in results list
What do you mean?
E.g. try title search for "Night Watch" on
www.imdb.com and akas.imdb.com. For me only 'akas' site shows additional aka titles with russian characters, but not the localized 'www' site (which shows german title listing for me with few 'aka' titles, but no russian characters on aka titles). So you would have to handle or filter these somehow, I'd guess.
Posted: 2010-11-17 19:29:59
by LeMoi
Isn't AMC Unicode or UTF-8 compatible ?
Posted: 2010-11-18 16:01:55
by antp
I did not know that IMDB started to use non-westeuropean characters in akas
AMC does not support unicode. The only thing it can do is convert UTF8 to local character set, but it works only for characters which exist in local character set.
On "akas" version, the page title still uses latin characters for the original title, no?
Posted: 2010-11-19 11:19:04
by bad4u
antp wrote:On "akas" version, the page title still uses latin characters for the original title, no?
I saw that too, but did not find time to confirm for other movies. And if IMDB switches user country via IP detect or reading browser information or something else for akas.imdb.com site too, this might be different for other countries, e.g. for users from Russia it could show non-western european characters for original title.. I'd prefer to find a way to bypass detection for user's country and get the same results page somehow, but not sure if it's possible.
Posted: 2010-12-30 17:07:32
by hohoho
Is there any solution concerning the new localized imdb versions?
I did replace all
www.imdb* with akas.imdb* in the IMDB script, this one worked well, except that my translate title field is messed up with a lot of "weird" characters, still no problem here but after I exported my db as Xml it gets me a lot of errors when I load it in Firefox.
I am open as well for any workarounds to fix this problem (as example clear the translated title fields completely, how could I do that?)
and I am not happy with the localized IMDB titles 'cause I prefer to get the original titles in the original title field.
Greets
Posted: 2010-12-30 18:43:33
by bad4u
There's no real solution to this, at least not following IMDB's FAQs. Default titles display for unregistered users is set based on geo-location, only registered users for IMDB pro can change default settings. The akas site is the only site that lists information to all users in the same format, no matter where they are or if they are unregistered, unfortunately it lists a lot of titles UTF8 encoded with non-eurpean characters (like russian alphabet) too, which is imported as what you described as "weird" characters.
I do not know a better solution than using akas site and somehow filtering titles in some way (maybe using script's options settings to choose preferred language or something), if someone has a better idea or knows some undocumented URL switches that still make it possible to set default language, please let me know. I will spend some time looking into the script the next few days and adapt it to work best with akas site else. Just doesn't make sense to do a script that uses screenscraping for all possible localized versions of default site.
Hope that helps.
Posted: 2010-12-30 21:10:54
by hohoho
I did some googlin' and found this site (
http://www.networkedmediatank.com/print ... ?tid=44892) where, see the last post at the bottom of the page, a guy did some scripting to get the original, or at least english title, of the movie...!?
Isn't it possible to add an option to the IMDB script to fetch the original title, which is displayed on every localized IMDB movie site under the translated title and use that one (or get it from the releaseinfo site, as example
http://www.imdb.com/title/tt0469494/releaseinfo#akas (here the original title is also at the top of the page)?
PS
Maybe forget the script from the site I linked to above, and have a look at these two imdb fetch scripts:
http://web3o.blogspot.com/2010/10/php-i ... plate.html
and
http://sourceforge.net/projects/imdbphp/
I hope this can help...
PPS
And I found an eggdrop (irc bot) script, that fetches orginal titles as well, maybe for reference (
http://overfiend.sessionclan.de/drupal/script/imdb)
PPPS
On the first site an user had the idea to use this free vpn (
http://hotspotshield.com/) to get the original names, I haven't tried it yet, but it'll be just a workaround.. (I just checked and noticed that you can use a proxy with our lovely ant movie catalog...)
Posted: 2011-01-25 18:32:12
by Svampen
It's weird: I'm in the process of fetching infos for tens or hundreds of movies and not getting any descriptions thus far. I see the problem has been discussed before.
edit: Now I noticed even the urls sometimes come messed up, continuing with some button html code! Should there be implemented some regexp to stop the url, if it gives "> at the end?
I got this behavior for example with this:
http://www.imdb.com/title/tt0163623/
And now I have a problem of some of my url fields containing a massive amount of unneeded html code. What would be the easiest way to clean them up?
Posted: 2011-01-25 20:26:32
by bad4u
Your example imports correct for me, so first make sure you have latest script version 3.68 (see scripting window, bottom frame). Though your example doesn't have a description that could be exported, it seems to work for other movies.
I definitely need to find some time to do some work on the script anyway
Posted: 2011-01-26 08:40:35
by Svampen
Argh, I somehow thought the latest AMC update included the latest IMDB script, but I mixed up the months/days (Sept. instead of Dec.)!!
Thanks bad4u.
Posted: 2011-03-25 18:51:04
by bad4u
New script version 3.69 available. Please download from
http://update.antp.be/amc/scripts/ or use script [Update Scripts].
Posted: 2011-03-29 17:25:06
by supernine
bad4u;
I have tested this new version, but still having the same problem
Posted: 2011-03-29 19:43:36
by bad4u
Posted: 2011-03-30 00:08:56
by supernine
Excellent. Tks a lot!
Trivia problem
Posted: 2011-04-17 22:17:54
by adler
I am unable to download trivia from IMDb. Values 3 and 4 do not work, whereas values 1 and 2 will download short trivia. However, this does not appear to work well either. Trivia imported looks like this:
- Five horses played the part of Secretariat. "Trolley Boy", the principle horse used was selected by Penny Chenery in a Secretariat look-alike contest in Kentucky, and even walked the Red Carpet at the film premiere in Hollywood. The five horses, four thoroughbreds and a quarter horse were made up with special makeup to replicate the three "white socks", facial stripe and star.Share thisHide optionsFacebook | Twitter | Permalink:
The movie is Secretariat.
Any help would be appreciated.
Thanks!