You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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']))