dongzhaorui 3 years ago
parent
commit
c119e57893
1 changed files with 1 additions and 1 deletions
  1. 1 1
      find_source/crawler/utils.py

+ 1 - 1
find_source/crawler/utils.py

@@ -42,7 +42,7 @@ def extract_page_title(html):
     element = html2element(html)
     nodes = element.xpath('/html/head/title/text()|//title/text()')
     if len(nodes) > 1:
-        return "".join("".join(nodes[-1]).split())
+        return "".join(";".join(nodes).split())
     return "".join("".join(nodes).split())