fix the bug

This commit is contained in:
2015-12-02 22:57:10 +08:00
parent eda7839812
commit b2579909e6
+1 -1
View File
@@ -17,7 +17,7 @@ class ProcessPostWorker
rescue SocketError => e
Rails.logger.error "出错了: #{e}"
ensure
if post.url.include?('http://mp.weixin.qq.com/')
if post.url.include?('//mp.weixin.qq.com/')
get_content_by_nokogirl post
else
readability_extract_content(post)