From c7a50058f7904ade776d2951fcf2e6a3b6c4d36d Mon Sep 17 00:00:00 2001 From: yangwenmai Date: Thu, 29 Jun 2017 07:00:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8D=9A=E5=AE=A2=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=EF=BC=8C=E4=BB=A5=E5=8F=8A=E5=AF=B9Export.py=E7=9A=84?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E5=81=9A=E5=A4=87=E6=B3=A8=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Export.py | 2 -- README.md | 3 +++ blogcn.opml | 6 ++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Export.py b/Export.py index 95a4fc2..1c4dabe 100644 --- a/Export.py +++ b/Export.py @@ -27,14 +27,12 @@ def handler(): continue title = re.findall(r'\[(.+?)\]',val)[0] r = re.findall(r'<(.+?)>', val) - print(r) if len(r)>0: xmlUrl = re.findall(r'<(.+?)>',val)[0] else: xmlUrl = "" htmlUrl = re.findall(r'\((.+?)\)',val)[0] handlerData.append(''.format(title,xmlUrl,htmlUrl)) - print(handlerData) fs.close() except: print('错误处理','读取文件失败') diff --git a/README.md b/README.md index 3d9cec7..da2e1de 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,15 @@ 本项目起源于[iOSBlogCN](https://github.com/tangqiaoboy/iOSBlogCN),非常感谢[唐巧](https://github.com/tangqiaoboy/)。 +注意:本项目中的Export.py文件必须用python3执行。 + 博客地址(排名不分先后) | RSS地址 ----- | ----- [The Go Programming Language Blog](https://blog.golang.org/)| [Tony Bai -- 一个程序员的心路历程](http://tonybai.com/) | [Arthur的博客](http://www.zenlife.tk/index/) | [鸟窝](http://colobu.com/) | +[飞雪无情的博客](http://www.flysnow.org) | [午夜咖啡](http://jolestar.com/) | [蝈蝈俊的技术心得](http://www.cnblogs.com/ghj1976/) | [FuXiaohei.Me -- 傅小黑的自留地](http://fuxiaohei.me/) | diff --git a/blogcn.opml b/blogcn.opml index 2d4cc4c..213630a 100644 --- a/blogcn.opml +++ b/blogcn.opml @@ -3,6 +3,7 @@ + @@ -15,15 +16,20 @@ + + + + +