前端和json优化
This commit is contained in:
@@ -400,6 +400,8 @@ class RmrbCrawler(BaseCrawler):
|
||||
src = str(src) # 转换为字符串
|
||||
if not src.startswith("http"):
|
||||
src = self.config.base_url + src
|
||||
if src=="http://www.people.com.cn/img/2020wbc/imgs/share.png": #分享图片跳过
|
||||
continue
|
||||
content = f"<img style='{p_style}' src='{src}' />"
|
||||
|
||||
elif p.find('video'):
|
||||
|
||||
Reference in New Issue
Block a user