dongzhaorui 3 năm trước cách đây
mục cha
commit
c119e57893
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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())