chrome 插件[量子党]:批量下载量子恒道的实时来访数据

2014-02-12 22:21:49 +08:00
 sd4399340
还记得上个帖子说到,老婆开了个淘宝店 https://www.v2ex.com/t/93575#reply12

用的是量子恒道来查看每天的店铺访问情况,老婆说想保存下每天的实时来访客户信息,而官方又不提供下载(难道是免费用户不提供),于是写了这个Chrome插件

源代码 https://github.com/PinkyJie/LiangziDown

目前chrome web store还没通过审核,只能自己手动安装了

安装好之后登陆量子恒道首页,登陆账号后就可以点击地址栏右侧的按钮将当天的来访数据下载为csv格式

希望开店的同学们可以帮忙测试一下,看看编码什么的有没有问题

P.S. 由于后台在appfog上,有时不稳定。。。
4369 次点击
所在节点    分享创造
15 条回复
chengxuan
2014-02-13 01:04:50 +08:00
不错 支持一下
riccar
2014-02-14 19:37:03 +08:00
怎么安装啊亲
riccar
2014-02-14 19:42:12 +08:00
Traceback (most recent call last):
File "/usr/local/sae/python/lib/python2.7/site-packages/sae/__init__.py", line 18, in new_app
return app(environ, start_response)
File "/usr/local/sae/python/lib/python2.7/site-packages/flask/app.py", line 1306, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/sae/python/lib/python2.7/site-packages/flask/app.py", line 1295, in wsgi_app
return response(environ, start_response)
File "/usr/local/sae/python/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1058, in __call__
app_iter, status, headers = self.get_wsgi_response(environ)
File "/usr/local/sae/python/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1048, in get_wsgi_response
return app_iter, self.status, headers.to_list()
File "/usr/local/sae/python/lib/python2.7/site-packages/werkzeug/datastructures.py", line 1123, in to_list
v = v.encode(charset)
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 20-27: ordinal not in range(256)
sd4399340
2014-02-14 22:32:14 +08:00
@riccar 你自己部署server端了吗?

现在已经发布在Chrome web store了,你再安装一下试试

地址见附言
trista099
2014-02-14 22:47:08 +08:00
给你32个赞!!!
sd4399340
2014-02-14 22:52:03 +08:00
@trista099 矮油~
riccar
2014-02-16 11:38:43 +08:00
@sd4399340 需要自己部署server吗? 我就是下载不下来,求破

Traceback (most recent call last):
File "/usr/local/sae/python/lib/python2.7/site-packages/sae/__init__.py", line 18, in new_app
return app(environ, start_response)
File "/usr/local/sae/python/lib/python2.7/site-packages/flask/app.py", line 1306, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/sae/python/lib/python2.7/site-packages/flask/app.py", line 1295, in wsgi_app
return response(environ, start_response)
File "/usr/local/sae/python/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1058, in __call__
app_iter, status, headers = self.get_wsgi_response(environ)
File "/usr/local/sae/python/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1048, in get_wsgi_response
return app_iter, self.status, headers.to_list()
File "/usr/local/sae/python/lib/python2.7/site-packages/werkzeug/datastructures.py", line 1123, in to_list
v = v.encode(charset)
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 20-27: ordinal not in range(256)
sd4399340
2014-02-16 11:43:29 +08:00
@riccar 不需要自己部署的,我刚看明白,这是你点了下载之后跳转到的页面报的错是吧,你方便把这个网址发给我吗?看报错应该是编码的问题
riccar
2014-02-16 12:04:38 +08:00
@sd4399340 方便,DM你
riccar
2014-02-16 12:06:53 +08:00
sd4399340
2014-02-16 12:07:27 +08:00
@riccar 这里好像没这功能吧,要不你email给我吧,pinkyjie.gn # gmail.com
sd4399340
2014-02-16 12:08:11 +08:00
@riccar got it,我先查下错
sd4399340
2014-02-16 12:39:50 +08:00
@riccar 好了,应该可以了,你再试试
是由于用户名为中文造成的编码问题,谢谢反馈~
riccar
2014-02-16 13:08:16 +08:00
@sd4399340 ok,成功了!
sd4399340
2014-02-17 22:31:38 +08:00
@riccar 有空测一下,我改了代码,你试试看Excel现在乱码不

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/99945

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX