Obtain the URL and page Resource load access address of all webpages on the website.

Source: Internet
Author: User
There are two image server domain names on the website. Now I want to find out which pages of the current website have accessed the domain names of one of the servers. Including the access addresses hidden in js. Any element on the website can submit a request to that domain name. You need to obtain the domain names of the two image servers on the website. Now I want to obtain the websites that have accessed the domain names of one of the servers. Including the access addresses hidden in js. Any element on the website can submit a request to that domain name. To be obtained.
How should I write this idea? What tools should I use to write this script in php or python?

Reply content:

There are two image server domain names on the website. Now I want to find out which pages of the current website have accessed the domain names of one of the servers. Including the access addresses hidden in js. Any element on the website can submit a request to that domain name. To be obtained.
How should I write this idea? What tools should I use to write this script in php or python?

If your website can write a section of src of the img object on the js foreach page, then submit the background interface through ajax;
If it is a local tool, you can only use selenium, a tool that can parse js;

We recommend that you analyze the access logs of image servers.
It should be fast to write in python.

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.