|
|
@ -62,7 +62,7 @@ index_container = index_tree.find(".//div[@class='isotope']") #maybe id is impor
|
|
|
|
# CREATE PAGE
|
|
|
|
# CREATE PAGE
|
|
|
|
########
|
|
|
|
########
|
|
|
|
for member in memberpages:
|
|
|
|
for member in memberpages:
|
|
|
|
#print member
|
|
|
|
print ' member', member
|
|
|
|
# download mw work page
|
|
|
|
# download mw work page
|
|
|
|
# pageid=member['pageid']
|
|
|
|
# pageid=member['pageid']
|
|
|
|
# pagetitle=(member['title'].encode('utf-8'))
|
|
|
|
# pagetitle=(member['title'].encode('utf-8'))
|
|
|
@ -85,7 +85,8 @@ for member in memberpages:
|
|
|
|
thumbnail=workdict['Thumbnail'],
|
|
|
|
thumbnail=workdict['Thumbnail'],
|
|
|
|
bio=(workdict['Bio']),
|
|
|
|
bio=(workdict['Bio']),
|
|
|
|
description=(workdict['Description']),
|
|
|
|
description=(workdict['Description']),
|
|
|
|
extra=(workdict['Extra']) )
|
|
|
|
extra=( workdict['Extra'] )
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
# parse workpage_html # process html: img full url
|
|
|
|
# parse workpage_html # process html: img full url
|
|
|
|
tree = html5lib.parse(workpage_html, namespaceHTMLElements=False)
|
|
|
|
tree = html5lib.parse(workpage_html, namespaceHTMLElements=False)
|
|
|
|