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.
|
and Simplyreadit modules maintainer.
|
||||||
|
|
||||||
Julien Veyssier <julien.veyssier@aiur.fr>
|
Julien Veyssier <julien.veyssier@aiur.fr>
|
||||||
|
* Suboob and Cineoob developer
|
||||||
* CreditMutuel, Geolocip, Ipinfodb, IsoHunt, Kickass, Piratebay,
|
* 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>
|
Christophe Benz <christophe.benz@gmail.com>
|
||||||
* Bouygues, INA, SFR and Youtube modules maintainer.
|
* Bouygues, INA, SFR and Youtube modules maintainer.
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,15 @@ List persons related to a movie.
|
||||||
.TP
|
.TP
|
||||||
\fBmovies_in_common\fR \fIID1\fR \fIID2\fR
|
\fBmovies_in_common\fR \fIID1\fR \fIID2\fR
|
||||||
.br
|
.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
|
.SH WEBOOB COMMANDS
|
||||||
.TP
|
.TP
|
||||||
\fBbackends\fR [\fIACTION\fR] [\fIBACKEND_NAME\fR]...
|
\fBbackends\fR [\fIACTION\fR] [\fIBACKEND_NAME\fR]...
|
||||||
|
|
|
||||||
|
|
@ -152,6 +152,9 @@ class PersonPage(BasePage):
|
||||||
yield id
|
yield id
|
||||||
|
|
||||||
class FilmographyPage(BasePage):
|
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):
|
def get_roles(self):
|
||||||
roles = {}
|
roles = {}
|
||||||
for role_div in self.parser.select(self.document.getroot(),'div.filmo'):
|
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'):
|
for a in self.parser.select(role_div,'ol > li > a'):
|
||||||
id = a.attrib.get('href','').strip('/').split('/')[-1]
|
id = a.attrib.get('href','').strip('/').split('/')[-1]
|
||||||
if id.startswith('tt'):
|
if id.startswith('tt'):
|
||||||
#li = a.getparent()
|
|
||||||
#between_p = li.text_content().split(')')[0].split('(')[1]
|
|
||||||
if '(' in a.tail and ')' in a.tail:
|
if '(' in a.tail and ')' in a.tail:
|
||||||
between_p = a.tail.split(')')[0].split('(')[1]
|
between_p = a.tail.split(')')[0].split('(')[1]
|
||||||
else:
|
else:
|
||||||
|
|
@ -179,4 +180,3 @@ class FilmographyPage(BasePage):
|
||||||
movie = self.browser.get_movie(id)
|
movie = self.browser.get_movie(id)
|
||||||
if movie != None:
|
if movie != None:
|
||||||
yield movie
|
yield movie
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue