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

修改 provider/youtube #365

Merged
merged 2 commits into from
Jan 28, 2020
Merged

修改 provider/youtube #365

merged 2 commits into from
Jan 28, 2020

Conversation

KusStar
Copy link
Contributor

@KusStar KusStar commented Jan 16, 2020

当 key 未填写或者 key 的配额耗尽时使用爬取网页的方式获取搜索结果。
新增方法: searchWithoutKey。

--
我在测试的时候把 key 的配额给用完了,似乎有点不太够用,于是添加了无需 key 的搜索实现。

@KusStar KusStar changed the title 修改 provide/youtube 修改 provider/youtube Jan 16, 2020
@nondanee
Copy link
Owner

无 key 搜索和有 key 搜索结果区别大吗?
不大的话直接用无 key 的好了

@KusStar
Copy link
Contributor Author

KusStar commented Jan 22, 2020

无 key 搜索和有 key 搜索结果区别大吗?

搜索结果应该是一样的。调试过程中没发现区别。
有 key 的会稍微快点,无 key 的接口会返回整个 html (几百KB)。

@nondanee
Copy link
Owner

好的

@nondanee nondanee merged commit d6d632e into nondanee:master Jan 28, 2020
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

Successfully merging this pull request may close these issues.

2 participants