Quick info
Let say you need to use the HTTP load testing and benchmarking utility siege on a 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
Media resources
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
Using with siege:
$ youlldownload http://host.com/section/page > list.txt $ siege -i -f list.txt [other options]
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
from iframe tags we’ll take the src URL
from source tags inside video we’ll take the src URL
Also: CSS sources are deeply analyzed for found additional resources inside them (like background images, fonts, …).
Changelog
0.4 (2015-11-06)
Fix setup.py to properly create a package [ale-rt]
0.3 (2015-05-28)
Remove duplicated URLs from final report [keul]
Do not include same version of an URL with anchors [keul]
Inspect also resources from CSS (backgroun images, fonts, …) [keul]
Script was not properly working outside homepage if a “base” tag was not provided [keul]
0.2 (2014-04-02)
Added support for src attribute of iframe tag [keul]
Added support for src attribute of source tag (HTML 5 video element) [keul]
Do not break if base tag is not present [keul]
0.1 (2013-01-30)
initial release
Metadata
Release files for YoullDownload 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| YoullDownload-0.4.tar.gz | 9.0 kB | Without provenance | Details for YoullDownload-0.4.tar.gz |
Release files / YoullDownload-0.4.tar.gz
| Download URL | YoullDownload-0.4.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a33659b8ab1be1535c471065997995d0cb117933bf40e03a3d71225b650b718c
|
|
BLAKE2b-256 checksum How to use checksums |
cb0f013c09c25d8dce5a6088c783d6748ea316a3108c37f0d4fc825f200e505f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for YoullDownload 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.