Skip to main content

Grab from a remote site page all resources that a browser will probably download visiting the page

Project description

Quick info

Let say you need to use the http load testing and benchmarking utility siege of s web page and you also want to use the --internet option, to simulate at best the behavior of a web browser.

When a web browser load a page, it also load all the resources inside that page:

  • Images

  • JavaScript files

  • CSS

So you need a list of all URLs taken from that page.

This utility (its name mean “You Will Download”) will simply create this list for you.

You simply need to redirect the utility output to a file, then use also the siege --file option.

Usage

youlldownload http://host.com/section/page

Taken resouces

  • from script tags we’ll take the src URL

  • from link tags with rel equals to stylesheet we’ll take the href url

  • from img tags we’ll take the src URL

  • from object tags we’ll take the data URL

  • from embed tags we’ll take the src URL

  • from style tags we’ll take the URL inside if the tag is using an “@import url” directive

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Changelog

0.1 (2013-01-30)

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

YoullDownload-0.1.zip (11.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page