[Imdbpy-help] issue with movie's goofs and quotes

1 view
Skip to first unread message

noa roy

unread,
Jun 11, 2020, 4:59:47 AM6/11/20
to imdbp...@lists.sourceforge.net
Hello,
I am running the following code line: ia.update(movie, ['quotes', 'goofs','trivia']) (taken from documentation) but it does not update both goofs and quotes - only trivia. 
I found an old (2016) question regarding this issue but it was not answered. 
Any advice?
Tnx! 
Noa

Davide Alberani

unread,
Jun 11, 2020, 5:00:39 PM6/11/20
to noa roy, imdbp...@lists.sourceforge.net
Hi Noa,

It should work. Is it possible that you are using an old version?
It's always better to use the version from the github repository.
To install it, please run: pip install git+https://github.com/alberanid/imdbpy


As an example, this script:
#!/usr/bin/env python3
import sys
import imdb
ia = imdb.IMDb()
matrix = ia.get_movie('0133093')
ia.update(matrix, ['quotes', 'goofs', 'trivia'])
print('QUOTES: ', len(matrix['quotes']))
print('GOOFS:', len(matrix['goofs']))
print('TRIVIA', len(matrix['trivia']))


will produce:
QUOTES: 110
GOOFS: 137
TRIVIA 197


Hope this helps.
> _______________________________________________
> Imdbpy-help mailing list
> Imdbp...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/imdbpy-help



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


_______________________________________________
Imdbpy-help mailing list
Imdbp...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help
Reply all
Reply to author
Forward
0 new messages