Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加把弹幕信息写入到文件的命令行选项 #3

Closed
zhaozhao opened this issue Jun 16, 2016 · 5 comments
Closed

增加把弹幕信息写入到文件的命令行选项 #3

zhaozhao opened this issue Jun 16, 2016 · 5 comments

Comments

@zhaozhao
Copy link

No description provided.

@hylarucoder
Copy link
Owner

写入文件? 在命令行后面加个 > 不就好了么?

@zhaozhao
Copy link
Author

我一开始以为是那logging模块输出弹幕信息的,看了一下源码原来是print输出的,>的重定向到文件会有flush的问题。

@hylarucoder
Copy link
Owner

@zhaozhao 哈哈,其实用多线程放到队列,写文件还是有这个问题的.

@zhaozhao
Copy link
Author

@twocucao 你0.3版本里面引入sqlalchemy用postgresql感觉有点重了 我觉得sqlite已经能够满足需求。

@hylarucoder
Copy link
Owner

sqlite作为分析工具的话,貌似有点功能上不够强大吧,那我在开发的时候加个默认选项好了,默认sqlite进行存储,如果指定的postgresql的话,就使用postgresql好了.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants