Download files from the locomotive and publish them to the wooden Wing Download System

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.