[cineoob] new command persons_in_common
This commit is contained in:
parent
d1ff2b16fa
commit
0036ee21a7
5 changed files with 80 additions and 1 deletions
|
|
@ -135,3 +135,8 @@ class ImdbBrowser(BaseBrowser):
|
|||
self.location('http://www.imdb.com/name/%s' % person_id)
|
||||
assert self.is_on_page(PersonPage)
|
||||
return self.page.iter_movies_ids(person_id)
|
||||
|
||||
def iter_movie_persons_ids(self, movie_id):
|
||||
self.location('http://www.imdb.com/title/%s' % movie_id)
|
||||
assert self.is_on_page(MoviePage)
|
||||
return self.page.iter_persons_ids(movie_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue