Skip to content

Commit

Permalink
Properly add new URI template variables to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley van Lee committed Oct 22, 2024
1 parent 26204d5 commit 2de8e61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@

```python
SW_EXPORT_URI = "s3://scrapy-webarchive/"
SW_EXPORT_URI = "s3://scrapy-webarchive/{spider}/"
SW_EXPORT_URI = "s3://scrapy-webarchive/{year}/{month}/{day}/{spider}/"
```

This is the output path of the WACZ file. Multiple variables can be added that allow dynamic generation of the output path.

Supported variables: `year`, `month`, `day` and `timestamp`.
Supported variables: `spider`, `year`, `month`, `day` and `timestamp`.

## Downloader middleware and spider middleware

Expand Down

0 comments on commit 2de8e61

Please sign in to comment.