Skip to content
New issue

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

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

Already on GitHub? # to your account

更新内容 #944

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

更新内容 #944

wants to merge 4 commits into from

Conversation

apaqi
Copy link

@apaqi apaqi commented Aug 23, 2020

更新内容

@apaqi
Copy link
Author

apaqi commented Aug 23, 2020

更新内容

添加百度图片搜索
@@ -52,7 +52,7 @@
*
* @return new site
*/
public static Site me() {
public static Site me() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个修改是没有必要的。

@sutra
Copy link
Collaborator

sutra commented Aug 23, 2020

大部分的修改都是关于 example 里的 baidu 相关的,为什么要做这个修改?

return httpClientBuilder.build();
SSLContext ctx = null;
try {
ctx = SSLContexts.custom().useProtocol("TLSv1.2").build();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么要强制使用 TLSv1.2?构造函数里不是已经注册了 SSLConnectionSocketFactory 了吗?

@@ -19,7 +20,9 @@
* @author code4crafter@gmail.com <br>
* @since 0.1.0
*/
public class FilePipeline extends FilePersistentBase implements Pipeline {
@ThreadSafe
public class FilePipeline extends FilePersistentBase implements Pipeline {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format 不正确。

@@ -19,7 +20,9 @@
* @author code4crafter@gmail.com <br>
* @since 0.1.0
*/
public class FilePipeline extends FilePersistentBase implements Pipeline {
@ThreadSafe
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 annotation 在哪里会用到?

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

Successfully merging this pull request may close these issues.

2 participants