bug in pages with "orignalTitle"

3 views
Skip to first unread message

don.n...@gmail.com

unread,
Feb 2, 2017, 2:00:27 AM2/2/17
to imdbpy-devel
I've found a bug which is seemingly for movies which have an originalTitle div class. I have not thoroughly confirmed this but here's the problem:

When doing a title search, the name comes up fine, but when doing an update() or a get_movie() it rewrites the title as "Help". Based on the extractor I can see via the requested pages that there is no "h1" tag containing the title for these movie types, it instead has an href to help.

For verifcation:
get_movie("0462684") has the problem.
get_movie("0428390") does not.

Awesome package btw! :) Thanks for your work!

Davide Alberani

unread,
Feb 2, 2017, 2:17:09 PM2/2/17
to imdbpy...@googlegroups.com, don.n...@gmail.com
On Thu, Feb 2, 2017 at 8:00 AM, <don.n...@gmail.com> wrote:
>
> When doing a title search, the name comes up fine, but when doing an
> update() or a get_movie() it rewrites the title as "Help".

I'm unable to reproduce it.
I see that for Blood Rain the title after the update changes to the
original one.
And that's ok; consider that for that movie, we parse
http://akas.imdb.com/title/tt0462684/combined

In no circumstances I'm seeing "Help".
I'm using the version from the repository, but it should be identical
to version 5.1.

What do you see, requesting the above page?
It may be something related to your Country or something like that.
Plus, I suspect that the account used by IMDbPY to access the site
(via cookies) is
no longer valid, but that should affect just the adult movies searches.

Thanks for your help!

--
Davide Alberani <davide....@gmail.com> [PGP KeyID: 0x3845A3D4AC9B61AD]
http://www.mimante.net/

don.n...@gmail.com

unread,
Feb 2, 2017, 3:16:24 PM2/2/17
to imdbpy-devel
I noticed that previously imdb was erroring and 404'ing on some pages, and as I had these lookups cached it kept reproducing. After clearing the cache and doing fresh lookups it is getting the appropriate information.

There isn't a bug, it was IMDB's fault.

Sorry for that.
Reply all
Reply to author
Forward
0 new messages