browsertrix icon indicating copy to clipboard operation
browsertrix copied to clipboard

[Change]: Prioritize queue items in crawl

Open JasonEades opened this issue 1 year ago • 0 comments

Browsertrix Host

Hosted by Webrecorder

What change would you like to see?

I would like to be able to prioritize items in the queue when crawling - either by url matching or for specific file types. For example, I would like all files hosted at a particular url added to the top of the queue and downloaded asap. This would solve issues with "signed urls" or other such CDN hosted content whose url contains a short expiry time.

Additional details

A site I’m trying to archive hosts all their image and document content on Amazon cloudfront CDN’s with what I believe are “signed” urls.

These urls look similar to the following:

https://cdn.mysite.com/wp-content/uploads/my-document.pdf?Expires=1749049196&Signature={something}&Key-Pair-Id=abc123

The expires value is an epoch time that expires within a few minutes of page load. These files are downloadable as long as the expiry epoch time hasn’t passed.

What appears to be happening during my crawl is that a majority of these file urls end up far enough down in the queue, that by the time they are processed the links are expired.

Any way I can force Browsertrix to download these pdfs/images/excels/etc. first? Or perhaps prioritize certain items in the queue by url or file type?

JasonEades avatar Nov 18 '25 17:11 JasonEades