album #23

Merged
v4l3n71n merged 12 commits from album into master 2023-08-25 21:47:48 +00:00
Showing only changes of commit 9ed5ffe399 - Show all commits

View File

@ -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: