add album article

This commit is contained in:
Valentin CZERYBA 2023-08-04 23:21:45 +02:00
parent 49c1552062
commit 1655217050

View File

@ -86,6 +86,8 @@ class WPMenu:
idMenu = {"id":0, "type":"", "link":""}
soup = BeautifulSoup(content, self._parser)
articletitle = soup.find("h2", class_="articletitle").get_text()
if len(articletitle) > 0:
articletitle = soup.find("h2").get_text()
exist = False
for index in range(1,10):
if exist is False: