add variable

This commit is contained in:
Valentin CZERYBA 2023-08-05 12:28:33 +02:00
parent 28b513e1b2
commit 9ed5ffe399

View File

@ -116,6 +116,10 @@ class WPimport:
def _addOrUpdateAlbum(self, soup):
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):
try: