实在没有获取到标题就返回None

This commit is contained in:
Jing Ling
2020-01-09 22:06:22 +08:00
parent 2e003137de
commit 5553bd10f4
+1 -1
View File
@@ -137,7 +137,7 @@ def get_title(markup):
if len(text) <= 200: if len(text) <= 200:
return text return text
return '' return 'None'
def request_callback(future, index, datas): def request_callback(future, index, datas):