mirror of
https://github.com/wahyd4/libr-2.git
synced 2026-08-09 05:15:53 +10:00
fix the bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user