diff --git a/AUTHORS b/AUTHORS index 0d554536..cec95d73 100644 --- a/AUTHORS +++ b/AUTHORS @@ -25,8 +25,9 @@ Noe Rubinstein and Simplyreadit modules maintainer. Julien Veyssier + * Suboob and Cineoob developer * CreditMutuel, Geolocip, Ipinfodb, IsoHunt, Kickass, Piratebay, - Attilasub, Opensubtitles, Tvsubtitles and Btmon modules maintainer. + Attilasub, Opensubtitles, Tvsubtitle, Btmon and Imdb modules maintainer. Christophe Benz * Bouygues, INA, SFR and Youtube modules maintainer. diff --git a/man/cineoob.1 b/man/cineoob.1 index e3cb84a2..d8ce0be3 100644 --- a/man/cineoob.1 +++ b/man/cineoob.1 @@ -47,7 +47,15 @@ List persons related to a movie. .TP \fBmovies_in_common\fR \fIID1\fR \fIID2\fR .br -List movies in common between two person. +List movies in common between two persons. +.TP +\fBpersons_in_common\fR \fIID1\fR \fIID2\fR +.br +List persons in common between two movies. +.TP +\fBbiography\fR \fIID\fR +.br +Show the complete biography of a person. .SH WEBOOB COMMANDS .TP \fBbackends\fR [\fIACTION\fR] [\fIBACKEND_NAME\fR]... diff --git a/modules/imdb/pages.py b/modules/imdb/pages.py index 813eec2f..0b36de4f 100644 --- a/modules/imdb/pages.py +++ b/modules/imdb/pages.py @@ -152,6 +152,9 @@ class PersonPage(BasePage): yield id class FilmographyPage(BasePage): + ''' Page of detailed filmography of a person, sorted by type of role + This page is easier to parse than the main person page filmography + ''' def get_roles(self): roles = {} for role_div in self.parser.select(self.document.getroot(),'div.filmo'): @@ -160,8 +163,6 @@ class FilmographyPage(BasePage): for a in self.parser.select(role_div,'ol > li > a'): id = a.attrib.get('href','').strip('/').split('/')[-1] if id.startswith('tt'): - #li = a.getparent() - #between_p = li.text_content().split(')')[0].split('(')[1] if '(' in a.tail and ')' in a.tail: between_p = a.tail.split(')')[0].split('(')[1] else: @@ -179,4 +180,3 @@ class FilmographyPage(BasePage): movie = self.browser.get_movie(id) if movie != None: yield movie -