I want to monitor a lot of websites, record their domain name jumps, and keep running for 24 hours. for example, if your ip address accesses google.com, it may become google.cn or access thefacebook.com, after the website is changed to facebook.com, it will be automatically forwarded to the new website. I only care about the main domain of the website... I want to monitor many websites, record their domain name jumps, and keep running for 24 hours.
For example, if your ip address accesses google.com, it may become google.cn.
Or access thefacebook.com. The website is changed to facebook.com and will be automatically forwarded to the new website.
I only care about the primary domain name of the website, for example, xxxx.google.com/xxxxx. I only care about the changes in google.com.pdf.
I originally wanted to use qt to view the redirection information of the 301,302 switch back. I found that even if the primary domain name remains unchanged, there are many 301/302 redirects, such as redirecting to https, redirecting to www. and so on. I found this solution is unreliable.
Is there any reliable, stable, or long-running solution?
Thank you!
Reply content:
I want to monitor many websites, record their domain name jumps, and keep running for 24 hours.
For example, if your ip address accesses google.com, it may become google.cn.
Or access thefacebook.com. The website is changed to facebook.com and will be automatically forwarded to the new website.
I only care about the primary domain name of the website, for example, xxxx.google.com/xxxxx. I only care about the changes in google.com.pdf.
I originally wanted to use qt to view the redirection information of the 301,302 switch back. I found that even if the primary domain name remains unchanged, there are many 301/302 redirects, such as redirecting to https, redirecting to www. and so on. I found this solution is unreliable.
Is there any reliable, stable, or long-running solution?
Thank you!
301 and 302 are jump responses. even those that jump from non-www to www can be 301.
Therefore, you can only compare the domain name with the corresponding response.
In particular, www is just a subdomain name, which can be viewed like www2.