Merged
Conversation
Owner
|
感谢共享代码。 我在本地电脑(win10)和服务器(Ubuntu)上测试了下代码。两者的共同点是:都必需在weibo_spider的安装目录下配置config.json,不能自定义config.json的位置。其实这不算问题,因为我们可以在后面完善。我现在纠结的是开源协议。 本项目的目的是为个人使用者服务的,方便他们使用。他们使用本项目的目的可能是为毕设收集资料,或者为机器学习或自然语言处理收集语料,或者其它研究,都是非盈利性质的,这也算是项目的初衷。我发现BSD License是允许商用的,这是我最担心的一点。因为本程序是在获取微博用户的数据,这些数据的所有权应该属于微博和发布者,我没有资格授权。如果别人把它用在盈利的项目上可能会有风险,因此应该使用比BSD更严格的协议。 |
Collaborator
Author
|
Owner
|
想了想,发现不添加开源协议是最严格的。没有发现严格禁止商用的协议,如果没有合适的协议,可以暂时不写,以后再添加也可以 |
Collaborator
Author
|
现在可以通过这种方式来指定任意 config.json 路径了: |
Owner
|
已merge,再次感谢,感谢不辞劳苦的修改代码和为开源做的贡献 |
Collaborator
Author
|
作者客气了。 当前 README 里的使用方法可能还需要跟着修改一下。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #156