Sample Header Ad - 728x90

Wget download wrong content

0 votes
1 answer
61 views
I'm trying to download a specific sitemap.xml (https://www.irna.ir/sitemap/all/sitemap.xml) . The problem is that when you load the specific sitemap.xml for a few seconds one white page with a header on it (you are redirecting...) appears and then disappears. When I read the downloaded sitemap.xml it was just a HTML file with the details of the redirect page, not the exact sitemap.xml that I wanted. **Part of the downloaded file(sitemap.xml)**:
var _this = this;
**Used command:** wget https://www.irna.ir/sitemap/all/sitemap.xml **Part of hat I want(sitemap.xml):**
https://www.irna.ir/sitemap/1403/12/22/sitemap.xml 


https://www.irna.ir/sitemap/1403/12/21/sitemap.xml 
I want to download the XML contents of the sitemap.xml, not the initial page (which two of them have the same URL)
Asked by Amirali (5 rep)
Mar 12, 2025, 03:17 PM
Last activity: Mar 12, 2025, 04:08 PM