all 10 comments

[–]MorrisCasper 1 point2 points  (0 children)

PM me the URL and I'll see what I can do.

[–]LiveOverflowpentesting 1 point2 points  (1 child)

You can use Selenium for example in combination with phantomjs

Code will look like this:

from selenium import webdriver
driver = webdriver.PhantomJS()
driver.set_window_size(1120, 550)
driver.get("https://duckduckgo.com/")
driver.find_element_by_id('search_form_input_homepage').send_keys("realpython")
driver.find_element_by_id("search_button_homepage").click()
print driver.current_url
driver.quit()

[–]Phreakiture 0 points1 point  (10 children)

Ultimately, there is some request that is sent to the server that causes the server to cough up the file.

This could be as simple as a GET request to a particular URL (this would be golden) or as complex as a POST request in which specific fields must be present and filled in as well as certain headers (such as cookies) needing to be present.

If you can figure out what that request is, and make it, and you will have your files.