This article is based on the collection of articles and published to the dedecms System for expansion. Some sections will be omitted. If you cannot understand some operations, please refer to the original article.
We open the default train task to download the software and release it to the wooden wing,
The first is the creation of tags. The download class has many tags and needs to correspond to the modules one by one. Manual addition is prone to errors. We use the software tag Intelligent Extraction function, the program automatically creates a new tag.
It is easy to obtain the URL, mainly because the rules are difficult. For example, the file size and unit are obtained using regular expressions.
The key step is to obtain files. Let's take a look at the rules;
Here is the use of replacement, note. The original web page is http://www.codepub.com/d/downpage.php? N = 1 & id = 14293: 1230976050. Open it after clicking
Http://www.codepub.com/d/downpage.php? N = 1 & id = 14293: 1230976050, or the original address, but the above is available. Note that the address is like this.
There are three addresses, we take the first: http://www.codepub.com/d/download.php? N = 1 & Server = 1 & id = 14293: 1230976050. Note that there is a connection here, so we can directly get the address by replacing it. then use it to download the software. test, which can be downloaded.
Below is the download save address U \ Download \ 2009-02 \ 10, which is the default address of the program. The following year, month, and day change with time. We use a random directory and then test
However, the problem is that the wooden wing will
The file address and the original Dynamic Address add up here, so there is a problem, wrong. What should I do? At present, I have not found a better solution. I only need to collect and not publish the data first. After the collection is complete, replace it with the title and then publish the data. Let's look at batch collection.
The result of publishing to the website.
Click it and check whether it is normal. OK.