I've got the following problem. I want to download a file that contains just the "302 file moved" info of the file that it points to. For example, if I put this url in the project:
https://archive.org/download/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf
and download it, I get two files. One contains this:
<HTML><HEAD><META HTTP-EQUIV="Refresh" CONTENT="0; URL=../../../https@ia802309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf"><TITLE>302 File moved</TITLE></HEAD></HTML>
and another one the target PDF itself. And I need just this response:
<HTML><HEAD><META HTTP-EQUIV="Refresh" CONTENT="0; URL=../../../https@ia802309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf"><TITLE>302 File moved</TITLE></HEAD></HTML>
without downloading the 8 Mb PDF. I tried excluding all other server urls except archive.org, adding skipdisposition and other parameters. No matter what I do I always either get two files or none. What exactly do I need to do to get just the "302 File moved" html file?
Thank you.
Would this work?
Best regards,
Oleg Chernavin
MP Staff