man cineoob updated, AUTHORS updated
This commit is contained in:
parent
b91a1cd481
commit
d14f3ddc0a
3 changed files with 14 additions and 5 deletions
3
AUTHORS
3
AUTHORS
|
|
@ -25,8 +25,9 @@ Noe Rubinstein <noe.rubinstein@gmail.com>
|
|||
and Simplyreadit modules maintainer.
|
||||
|
||||
Julien Veyssier <julien.veyssier@aiur.fr>
|
||||
* 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 <christophe.benz@gmail.com>
|
||||
* Bouygues, INA, SFR and Youtube modules maintainer.
|
||||
|
|
|
|||
|
|
@ -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]...
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue