No new window opening is not necessary, just your tag
a is the attribute
target="_blank". So your browser when clicking on a link opens a new window. The spider will be a link from the attribute
href.
I think the logic of action your spider should be like this:
Get the page source -> Find a tag a -> extract the link from the href attribute -> Get the page for the download link
And then can disassemble the landing page.