zhu327 / rss Goto Github PK
View Code? Open in Web Editor NEWweibo weixin zhihu rss RSS工厂,生成微博,微信公众号,知乎日报RSS
weibo weixin zhihu rss RSS工厂,生成微博,微信公众号,知乎日报RSS
_cipher_eqs()
if len(h) > 5:
n = h[:-5]
只补了一位
已经确认安装所有requirement和memcached,也能用测试程序显示Hello world
部署你的repo后,能正常执行下面
ctl_all start
可是访问网页 弹出 503 service temp unvaliable.
实在想不到怎样解决了,谢谢
Sogou changed page structure, which causes re.findall
fail, then start.py
fail, and nginx 502.
Traceback:
root@c4a946a8f386:~/rss/diy# python start.py
Traceback (most recent call last):
File "start.py", line 35, in
tornado.ioloop.IOLoop.instance().run_sync(get_key)
File "/usr/local/lib/python2.7/dist-packages/tornado/ioloop.py", line 445, in run_sync
return future_cell[0].result()
File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
raise_exc_info(self._exc_info)
File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 879, in run
yielded = self.gen.send(value)
File "/root/rss/diy/task.py", line 38, in get_key
key, level, setting = process_key(html)
File "/root/rss/diy/utils/weixin.py", line 31, in process_key
key, level, secret, setting = m[0]
IndexError: list index out of range
微博订阅似乎不能显示大图(原始尺寸),能否改进一下?
Log 如下:
Using default tag: latest
Pulling repository index.alauda.cn/zhu327/rss
Tag latest not found in repository index.alauda.cn/zhu327/rss
提供下 dockerfile?
用demo生成了一个微博的rss feed,请问demo上面多久会刷新一次feed?
如果在docker用你的镜像自己弄一个服务器需要修改哪些参数加快刷新速度?
微信公众号的文章生成的RSS不起作用,所有的公众号都是404: Not Found
,可能是sogou在请求的链接中加入了一个AES生成的序列,而且这个序列是随时间变化的,以示例openid=oIWsFt86NKeSGd_BQKp1GcDkYpv0
为例子:
之前请求的url为:
http://weixin.sogou.com/gzhjs?cb=sogou.weixin.gzhcb&openid=oIWsFt86NKeSGd_BQKp1GcDkYpv0&page=1&t=1435331583433
现在url为:
http://weixin.sogou.com/gzhjs?cb=sogou.weixin.gzhcb&openid=oIWsFt86NKeSGd_BQKp1GcDkYpv0&eqs=tUsYo8OgE6twomWXaQdVku7NKxnk2wEmdNj6ZkctDPsSYcedigs324KsshDZJ5q7I%2FMZr&ekv=7&page=1&t=1435331583433
增加的部分为:
&eqs=tUsYo8OgE6twomWXaQdVku7NKxnk2wEmdNj6ZkctDPsSYcedigs324KsshDZJ5q7I%2FMZr&ekv=7
从页面代码看来,eqs
序列使用与ekv
值对应的一个key
和一个固定的iv
生成的AES加密序列,请问这个序列要怎么解决呢?
After the rss starting up, there is no cookies until several hours later, which will produce the following errors:
File "/var/lib/openshift/54fe6dc9e0b8cd2d250001cf/app-root/runtime/repo/diy/handlers/weixin.py", line 33, in get
headers = random.choice(cookies)
File "/var/lib/openshift/54fe6dc9e0b8cd2d250001cf/app-root/data/lib/python2.7/random.py", line 273, in choice
return seq[int(self.random() * len(seq))] # raises IndexError if seq is empty
TypeError: object of type 'NoneType' has no len()
Is there any way making the server functioning without waiting several hours?
Thanks.
部署在Openshift diy tornado环境上,环境搭建参考:
http://bozpy.sinaapp.com/blog/29
按照教程出现上述安装错误。好象是权限问题,你碰到了吗?
pip install -r requirements.txt 完成以后,我自己搭建的环境已经可以通过网页打开了。我想继续确认一下
下面的步骤是否还要进行。。。
新增memcahed缓存,加速访问微信,知乎 rss
Openshift安装memcached参考
http://www.blackglory.me/openshift-install-wordpress-memcached/
启动memcached
$OPENSHIFT_DATA_DIR/bin/memcached -l $OPENSHIFT_DIY_IP -p 15211 -d
获取pid用于停止服务
ps -ef|grep memcached
您好,
电脑小白,看了您写的那个部署方法,有点晕啊 。
您部署的 https://diy-devz.rhcloud.com/ 打不开呢
现在这个方法还能够提取微信公众号rss吗?
感谢
整合下吧:https://github.com/rancavil/tornado-openshift-quickstart
OS 的 build 环节最好写到 hook 里。
(1)微信RSS订阅产生网页地址错误,还是显示原作者的RSS地址.
(2)请作者测试我自己搭建的RSS订阅地址。帮助您找BUG.
http://py27-chuliqiang.rhcloud.com/
结论:自己搭建的RRS,暂时也不能订阅微信RSS.
感谢你为rss圈又提供了新的可能性,我有个闲置的树莓派3b+,平时就跑跑awtrix,能不能也能做这个?
500: Internal Server Error 怎么办呢?
哥,这个太笼统了吧。能给个具体点的吗?小白看不懂啊。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.