Re: [Imdbpy-help] [imdbpy-help] After i.update(movie) wrong (and always the same) title is returned

2018-01-28 Thread Martín Torre Castro
I suppose you already know about this, but just in case, I noticed that
imdbPY isn't returning info for 'producer', 'cinematography' and 'editor'.

I didn't change my code, which was working previously. If I have to change
something, please tell me.

On 1 January 2018 at 18:52, Davide Alberani 
wrote:

> Hi all,
> yes: since a recent redesign of the web pages, IMDbPY is badly broken.
>
> We started working on master to fix it, but there's still much to do;
> see https://github.com/alberanid/imdbpy/issues/103
>
> As always, any help is welcome.
>
> If you want to start fixing something, run the tox and chose one of
> the parsers you want to work on (and tell us on that issue, so that we
> can avoid duplicate work).
>
> Thanks!
>
>
> On Sat, Dec 30, 2017 at 12:08 PM, Filip Bačić 
> wrote:
> > Hi,
> >
> > Lately, after i.update(movie), I always get the same movie title "The
> > leading information resource for the entertainment industry".
> > I used some old imdbpy package, but I also now tried it with the latest
> one
> > and I am getting the same result.
> >
> > For example, for this code:
> >
> > import imdb
> >
> > i = imdb.IMDb()
> >
> > movie_list = i.search_movie('pacific rim')
> >
> > first_match = movie_list[0]
> >
> > print(first_match)
> >
> > i.update(first_match)
> >
> > print(first_match)
> >
> > I get this output:
> >
> > Pacific Rim
> > The leading information resource for the entertainment industry
> >
> > Does anyone else have this problem?
> >
> > Best Regards,
> >
> > Filip
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "imdbpy-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to imdbpy-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Davide Alberani   [PGP KeyID:
> 0x3845A3D4AC9B61AD]
> http://www.mimante.net/
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Imdbpy-help mailing list
> Imdbpy-help@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/imdbpy-help
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help


Re: [Imdbpy-help] [imdbpy-help] After i.update(movie) wrong (and always the same) title is returned

2018-01-01 Thread Davide Alberani
Hi all,
yes: since a recent redesign of the web pages, IMDbPY is badly broken.

We started working on master to fix it, but there's still much to do;
see https://github.com/alberanid/imdbpy/issues/103

As always, any help is welcome.

If you want to start fixing something, run the tox and chose one of
the parsers you want to work on (and tell us on that issue, so that we
can avoid duplicate work).

Thanks!


On Sat, Dec 30, 2017 at 12:08 PM, Filip Bačić  wrote:
> Hi,
>
> Lately, after i.update(movie), I always get the same movie title "The
> leading information resource for the entertainment industry".
> I used some old imdbpy package, but I also now tried it with the latest one
> and I am getting the same result.
>
> For example, for this code:
>
> import imdb
>
> i = imdb.IMDb()
>
> movie_list = i.search_movie('pacific rim')
>
> first_match = movie_list[0]
>
> print(first_match)
>
> i.update(first_match)
>
> print(first_match)
>
> I get this output:
>
> Pacific Rim
> The leading information resource for the entertainment industry
>
> Does anyone else have this problem?
>
> Best Regards,
>
> Filip
>
> --
> You received this message because you are subscribed to the Google Groups
> "imdbpy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to imdbpy-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Davide Alberani   [PGP KeyID: 0x3845A3D4AC9B61AD]
http://www.mimante.net/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help


Re: [Imdbpy-help] Imdbpy help

2017-07-18 Thread Davide Alberani
On Tue, Jul 18, 2017 at 8:24 PM, Personal  wrote:
>
> Thank you for creating imdbpy. When I tried to retrieve box office gross by 
> ia.update(m,'business'), the key business is always empty. Could you tell me 
> what I should do to get box office info and budget info? Thank you!

Hi Qianyu,
what you're doing seems to work for me.

Only thing I'd do, is to be sure that you're using the version from
the repository: https://github.com/alberanid/imdbpy

Also notice that there's a distinction between 'data sets' (like "business")
and the keys that will be added when you fetch a given data set (like "gross",
"budget" and so on).
For more information, see this thread:
https://sourceforge.net/p/imdbpy/mailman/imdbpy-help/thread/CAMWn9PRmzniiu%3Dkt7dbRgj8AGT2p30s6%2BP_N21zAcZotDG2ViA%40mail.gmail.com/#msg35935475

My test:

>>> from imdb import IMDb
>>> ia = IMDb()
>>> bh = ia.get_movie('0112573')

# let's update business information
>>> ia.update(bh, 'business')

# now check which keys were added by the 'business' info set
>>> print bh.infoset2keys['business']
[u'gross', u'copyright holder', u'filming dates', u'budget',
u'admissions', u'opening weekend', u'rentals', u'production dates']

# print the gross key
>>> print bh.get('gross')
[u'$75,609,945 (USA) (13 June 1996)', u'\xa310,812,243 (UK) (19
November 1995)', u'\xa33,342,433 (UK) (12 September 1995)',
u'$16,679,000 (UK)', u'$210,409,945 (Worldwide) (31 May 2012)',
u'\u20ac6,878,567 (Spain) (10 July 2003)', u'ESP 1,136,000,000
(Spain)']


Hope this helps,

-- 
Davide Alberani   [PGP KeyID: 0x3845A3D4AC9B61AD]
http://www.mimante.net/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help


[Imdbpy-help] Imdbpy help

2017-07-18 Thread Personal

Hi Davide,

Thank you for creating imdbpy. When I tried to retrieve box office gross by 
ia.update(m,'business'), the key business is always empty. Could you tell me 
what I should do to get box office info and budget info? Thank you!

Sincerely,
Qianyu Cheng


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help


Re: [Imdbpy-help] [imdbpy-help] Re: Problems using imdbpy2sql.py

2017-03-23 Thread Davide Alberani
On Mon, Mar 20, 2017 at 4:59 PM, Roberto Larcher  wrote:
>
> I don't know if this will influence other processes but after this
> modification the imdbpy2sql.py script is correctly running

Thanks for the help!
Maybe now the parameter should be added to the URL?

Like 
https://stackoverflow.com/questions/29903790/load-data-local-infile-sqlalchemy-and-python-to-mysql-db


-- 
Davide Alberani   [PGP KeyID: 0x3845A3D4AC9B61AD]
http://www.mimante.net/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help


Re: [Imdbpy-help] [imdbpy-help] Re: Installing IMDbPY on MAC OS X

2014-03-30 Thread Davide Alberani
On Sat, Mar 29, 2014 at 5:26 AM, Tony C  wrote:
> When I installed via pip, I didn't have this error, but
> a lot of imdb-py files were installed in the directory where I ran the pip
> command.
> I didn't like this, so I used pip to uninstall everything.

I'll try to package the latest version as soon as possible (within a month?)
even if it's far from a good working state.

In the meanwhile, can't you install SQLAlchemy separately, on your
system?

-- 
Davide Alberani   [PGP KeyID: 0x465BFD47]
http://www.mimante.net/

--
___
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help


Re: [Imdbpy-help] [imdbpy-help] Re: Better imdbID support for imdbpy2sql

2013-11-09 Thread Davide Alberani
On Thu, Nov 7, 2013 at 12:41 AM, confounded  wrote:
>
> I have a use for imdbid's (predictably enough!). Did anything ever come of
> the repository idea?

Nope.  I don't think there're huge and valid mappings of titles <-> imdbIDs,
out there... :-/


-- 
Davide Alberani   [PGP KeyID: 0x465BFD47]
http://www.mimante.net/

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
___
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help