opendb icon indicating copy to clipboard operation
opendb copied to clipboard

Problems with amazon

Open selfarian opened this issue 10 years ago • 28 comments

I installed a new copy of the opendb 1.6.0beta4. I also installed the amazonde site plugin (even tried it with amazon). Whe i create a new item, i can search for it and it's found. But if i choose one of the found items, the input form for the film is empty. So only the title is filled in, with the term, which i searched. With imdb, it works. Do i need to do more setup or sth like that or is it out of order?

selfarian avatar Sep 08 '14 12:09 selfarian

Most likely the format has changed. Please provide some sample searches which fail and I will take a look

pellcorp avatar Sep 09 '14 01:09 pellcorp

Ok. So for Example: The Titles were correctly added

Searching for "Men in Black" 3 : http://www.amazon.de/exec/obidos/ASIN/B0085J9KWC

"Hilfe Dinosaurier": http://www.amazon.de/exec/obidos/ASIN/B00KDFLZWO

Der "Hobbit": Smaugs Einöde: http://www.amazon.de/exec/obidos/ASIN/B00HCEP2Y6

Are these the things, you needed to know?

selfarian avatar Sep 09 '14 09:09 selfarian

Perfect I will take a look and see if I can fix the plugin

pellcorp avatar Sep 09 '14 14:09 pellcorp

I'm having trouble when doing a search with ISBN13 UPC (e.g. 9780553564938) I get "No Matches Found", This seems to always happen currently.

utopiabound avatar Sep 09 '14 15:09 utopiabound

I'm unsure: if the problem get's fixed, you'll post it here, right?

selfarian avatar Sep 12 '14 19:09 selfarian

I will. I have a 8 week old son and a 4yo son so time is a commodity I don't have a lot of. I will try to look at this this week

pellcorp avatar Sep 12 '14 23:09 pellcorp

No problem, i have a 18 month old son, too. I just saw there some changes in the repository with this issue number, so i was unsure if i get a message if it's fixed :-)

selfarian avatar Sep 13 '14 19:09 selfarian

The pull request submitted by Utopiabound which I merged, does not actually deal specifically with your bug. I am not sure why he referenced this bug number, probably a typo.

pellcorp avatar Sep 14 '14 01:09 pellcorp

Ok - so they have completely revamped the amazon web site since this plugin was last written. It's no wonder it does not return any info anymore. I will work on the amazon.com and amazon.co.uk site, but I am not multilingual so I am not sure how well I will do for the non english sites.

pellcorp avatar Sep 14 '14 01:09 pellcorp

Actually I was mistaken, it seems that we are taken to the Instant video result page by default now. The original DVD page still is there. So the search results return results for instant video as well, which is probably the titles you clicked on. I will see about excluding them from the results.

pellcorp avatar Sep 14 '14 02:09 pellcorp

Hm... are you sure? The upper links seem to me to be the normal links of the DVDs... but maybe i'm wrong...

selfarian avatar Sep 15 '14 07:09 selfarian

Do you know something new?

selfarian avatar Oct 08 '14 06:10 selfarian

No the problem is actually that the search results return links for streaming media as well which has completely different format. The layout of DVD bluray etc remains same. I don't know how to filter out the streaming results and have not had chance to get back to it

pellcorp avatar Oct 08 '14 06:10 pellcorp

Hm... what format do you expect? I tried the links above and i got this (http://www.amazon.de/exec/obidos/ASIN/B00HCEP2Y6): top_amazon and i think, this should be the required information: middle_amazon

selfarian avatar Nov 26 '14 13:11 selfarian

I don't have much time for fixing site plugins at the moment.

pellcorp avatar Nov 27 '14 01:11 pellcorp

Ok. If i can help anyway, just tell me :-) i have a little experience in php-development.

selfarian avatar Nov 27 '14 08:11 selfarian

I added code to ignore the amazon streaming video options from search. Give it a go.

pellcorp avatar Dec 04 '14 01:12 pellcorp

I replaced the file amazon.class.php and i also tried to reinstall the plugin. But it doesn't work. Do i need to do anything more?

selfarian avatar Dec 04 '14 14:12 selfarian

That should be all you need. I had only tested USA site.

pellcorp avatar Dec 04 '14 21:12 pellcorp

Oh I only dealt with search results. Not exact matches. I will take another look

pellcorp avatar Dec 04 '14 21:12 pellcorp

Ah, ok. Thank you!

selfarian avatar Dec 06 '14 09:12 selfarian

Hi, i searched a little bit and i think i found the problem or one of it: In line 585 of the amazon.class.php is the following: $this->addItemAttribute('actors', parse_amazon_video_people("Actors", $pageBuffer)); So, this works only for the english site, because in germany (or amazon.de) it's not "Actors" but "Darsteller". So if i change it this way: $this->addItemAttribute('actors', parse_amazon_video_people("Darsteller", $pageBuffer)); i have the Actors filled by the plugin.

selfarian avatar Dec 09 '14 13:12 selfarian

I did a quick and dirty fix, so i just replaced the english-lines with german ones. If you want, i can send it to you, or create a table or so, with the english and german fieldnames.

selfarian avatar Dec 09 '14 13:12 selfarian

that would be great.

On Wed, Dec 10, 2014 at 12:17 AM, selfarian [email protected] wrote:

I did a quick and dirty fix, so i just replaced the english-lines with german ones. If you want, i can send it to you, or create a table or so, with the english and german fieldnames.

— Reply to this email directly or view it on GitHub https://github.com/pellcorp/opendb/issues/67#issuecomment-66280737.

pellcorp avatar Dec 09 '14 15:12 pellcorp

Ok, here it is: Genres - n/a (i think it's not longer available on .com and .de) Actors - Darsteller Directors - Reggisseur(e) Region - Region (it's the same, but Blu-rays have "Alle Regionen" = "all regions" Aspect Ratio - Bildseitenformat Number of Discs - Anzahl Disks Rated - FSK Studio - Studio DVD Release Date - Erscheinungstermin Run Time - Spieldauer anamorphic - n/a THX Certified - n/a Language - Sprache (i think here's some more modification needed) Subtitles - Untertitel DVD Features - n/a

IMBD ID is not available maybe there's another way to get it...

Another Question i have: Is it possible to get the android app? Or is it stopped? I didn't find a link or a way to join the google group.

Thank you very much!

selfarian avatar Dec 10 '14 10:12 selfarian

The android app is on a break I don't have much time to devote to it. Two kids can do that including a 5 month old baby :-)

pellcorp avatar Dec 10 '14 17:12 pellcorp

Ok. I know what you mean, mine is 21 month :-)

selfarian avatar Dec 11 '14 07:12 selfarian

I'm unsure if i should open another bug or to post it here. It regards the amazon plugin, too. If i try to search for an asin (barcode) i get an "unknown error" when i click on search. Here's a example of a german asin: 888430489899

selfarian avatar Dec 16 '14 12:12 selfarian