Python crawler knowledge point--url and URI

Source: Internet
Author: User

URL and URI

  • URL Full name: Uniform Resource Locator (Uniform Resource Locator)
  • URI full Name: Uniform Resource Identifier (Uniform Resource Identifier)
    As an example of Https://github.com/favicon.ico, it is both a URL and a URI. The only way we specify access to it is through Url/uri. This includes access protocol HTTPS, Access path, resource name Favicon.ico. With the message provided by this link, we have direct access to the location of this resource. This is the role of URLs, URIs.
    The URL is a subset of the URI. ===> Each URL is a URI, but not every URI is a URL.
    The URI consists of two subclasses: Urn and URL. Where urn only names a resource but does not specify how to locate a resource (such as urn:isbn:0451450523) specifies a book's ISBN, which can be uniquely identified but not positioned.
    ▲. There are few urns used in the Internet, and almost all URIs are URLs.

Python crawler knowledge point--url and URI

Related Article

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.