add variable
This commit is contained in:
parent
28b513e1b2
commit
9ed5ffe399
@ -116,6 +116,10 @@ class WPimport:
|
|||||||
|
|
||||||
def _addOrUpdateAlbum(self, soup):
|
def _addOrUpdateAlbum(self, soup):
|
||||||
self._logger.info("{0} : Add/Update Album".format(self._name))
|
self._logger.info("{0} : Add/Update Album".format(self._name))
|
||||||
|
albumbody = soup.find("div", class_="albumbody")
|
||||||
|
albumtitle = albumbody.find("h2").get_text()
|
||||||
|
self._logger.debug("{0} : Title of the album : {1}".format(self._name, albumtitle))
|
||||||
|
albumdesc = albumbody.find("div", class_="albumdesc").find("p")
|
||||||
|
|
||||||
def _fromFileTmp(self):
|
def _fromFileTmp(self):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user