album-plus #24

Merged
v4l3n71n merged 6 commits from album-plus into master 2023-09-01 22:27:59 +00:00
Showing only changes of commit e5109204aa - Show all commits

View File

@ -223,7 +223,9 @@ class WPimport:
author = self._getAuthor(self._author)
else:
link_a = albumbody.find_all("a")
href_a = link_a[0].get("href", "/")
for i in link_a:
if re.search(r"/albums/", i.get("href", "/")):
href_a = i.get("href", "/")
author = self._getInfoAlbum(href_a)
self._logger.info("{0} : author : {1}".format(self._name, author))
self._getAuthor(author)