This commit is contained in:
Jing Ling
2020-10-16 22:51:52 +08:00
parent 90477b336f
commit 7b9dee6608
+1 -1
View File
@@ -94,7 +94,7 @@ def get_html_title(markup):
return h2.text
h3 = soup.h3
if h2:
if h3:
return h3.text
desc = soup.find('meta', attrs={'name': 'description'})