fix missing file

This commit is contained in:
ppwwyyxx
2014-12-21 21:23:44 +08:00
parent 1a5ae2b1f2
commit 41982c3f2d
4 changed files with 24 additions and 4 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env python2
# -*- coding: UTF-8 -*-
# File: msg.py
# Date: Sat Dec 20 18:38:59 2014 +0800
# Date: Sun Dec 21 21:23:27 2014 +0800
# Author: Yuxin Wu <[email protected]>
from datetime import datetime
@@ -61,6 +61,7 @@ class WeChatMsg(object):
url = soup.find('url').text
if not url:
title = soup.find('title').text
# TODO sometimes fail to parse title
if not title:
print self.content
from IPython import embed; embed()