Commit 853fe621 authored by litaolemo's avatar litaolemo

update

parent d5b89ee5
......@@ -159,7 +159,10 @@ class Crawler_weibo():
if mblog.get("isLongText"):
text, repost_count, comment_count, favorite_count = self.get_single_page(mid)
else:
text = mblog["raw_text"]
try:
text = mblog["raw_text"]
except:
text = mblog["text"]
if mblog.get("page_info"):
article_type = mblog.get("page_info").get("type")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment