Transfer: Zeal offline document download speed solution

https://www.jianshu.com/p/598f18ca6963

1. Installation tutorial reference

Zeal-easy-to-use offline API documentation!

2. Solve the download speed problem

Zeal documents are stored on foreign servers. If you use Zeal to download directly, the speed is extremely slow and it is easy to interrupt. The following highlights how to stitch the download address of the zeal file by yourself.

2.1 Find the name value of the offline document to be downloaded

The following link is obtained by capturing the package file, and zeal's json data when requesting the document list.

http://api.zealdocs.org/v1/docsets find the title of the file you want to download from Zeal's Tools ---> Available. For example, Java SE8 in the figure below.

 

 
image

 

Open the above link and paste Java SE8 in the browser [ctrl] + [f], you can find the information of Java SE8 as follows, copy the value of the name attribute.

 

 
image

 

Mosaic download link

The download link format of zeal offline document is:


http://{city_name}.kapeli.com/feeds/{name}.tgz city_anme: 是服务器所在的城市 name: 是刚刚找好的要下载文档的name值 

The city where the server is located is as follows:


frankfurt, london, newyork, sanfrancisco, singapore, sydney, tokyo

I have roughly tested the download speed of several servers, and replaced the name of the document you want to download with the {name} link below.


快——> 慢排序

http://tokyo.kapeli.com/feeds/{name}.tgz http://singapore.kapeli.com/feeds/{name}.tgz http://sanfrancisco.kapeli.com/feeds/{name}.tgz http://frankfurt.kapeli.com/feeds/{name}.tgz http://newyork.kapeli.com/feeds/{name}.tgz http://sydney.kapeli.com/feeds/{name}.tgz http://london.kapeli.com/feeds/{name}.tgz 

After downloading the document, unzip it and put it in the offline document storage location set by zeal. The document location can be found from zeal ---> Edit ---> Preferences ----> Directory.



Author: Ice Mountain twenty-three
link: https: //www.jianshu.com/p/598f18ca6963
Source: Jane books
are copyrighted by the author. For commercial reproduction, please contact the author for authorization, and for non-commercial reproduction, please indicate the source.

Guess you like

Origin www.cnblogs.com/lcolnwang/p/12714869.html