machawk1 / wail

:whale2: Web Archiving Integration Layer: One-Click User Instigated Preservation
https://matkelly.com/wail
MIT License
345 stars 32 forks source link

Allow the user to specify an additional arbitrary location for storing WARC files #245

Open machawk1 opened 8 years ago

machawk1 commented 8 years ago

This would be locations that already exist that they want to replay and not necessarily have Heritrix write to. As an example, they may want to specify a folder in their local Dropbox directory. This should be accomplished through the standard dialog (and potentially additionally by specifying a path).

The additional directory will need to be added to wayback.xml. Any other places?

machawk1 commented 6 years ago

A first step in accomplishing this would be to get the directory outside of the .app on macOS. Adhering to the structure setup by https://github.com/n0tan3rd/wail (via pywb) would provide an interoperable basis. This structure could translate to other OSs via:

~/Documents/WAIL_ManagedCollections/collections/wailpy/{archive|indexes}/{.warc|.cdx(resp)}