allmovie: parse credits
This commit is contained in:
parent
7d9c3da760
commit
314fd03934
1 changed files with 8 additions and 0 deletions
|
@ -28,6 +28,14 @@ def getMovieData(allmovieId):
|
|||
),
|
||||
findRe(html, '<div id="results-table">(.*?)</table>').split('</td></tr>')[:-1]
|
||||
)
|
||||
html = getUrlUnicode("http://www.allmovie.com/cg/avg.dll?p=avg&sql=1:%s~T3" % allmovieId)
|
||||
data['credits'] = map(
|
||||
lambda x: map(
|
||||
lambda x: stripTags(x).strip(),
|
||||
x.split(' </TD><TD WIDTH=305><I>-')
|
||||
),
|
||||
findRe(html, '<div id="results-table">(.*?)</table>').split('</TD></TR>')[:-1]
|
||||
)
|
||||
return data
|
||||
|
||||
def getMoviePoster(allmovieId):
|
||||
|
|
Loading…
Reference in a new issue