add album article
This commit is contained in:
parent
49c1552062
commit
1655217050
@ -86,6 +86,8 @@ class WPMenu:
|
|||||||
idMenu = {"id":0, "type":"", "link":""}
|
idMenu = {"id":0, "type":"", "link":""}
|
||||||
soup = BeautifulSoup(content, self._parser)
|
soup = BeautifulSoup(content, self._parser)
|
||||||
articletitle = soup.find("h2", class_="articletitle").get_text()
|
articletitle = soup.find("h2", class_="articletitle").get_text()
|
||||||
|
if len(articletitle) > 0:
|
||||||
|
articletitle = soup.find("h2").get_text()
|
||||||
exist = False
|
exist = False
|
||||||
for index in range(1,10):
|
for index in range(1,10):
|
||||||
if exist is False:
|
if exist is False:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user