Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add media/page archiving capabilities #24

Closed
nodiscc opened this issue Nov 16, 2017 · 1 comment
Closed

add media/page archiving capabilities #24

nodiscc opened this issue Nov 16, 2017 · 1 comment

Comments

@nodiscc
Copy link
Member

nodiscc commented Nov 16, 2017

Moved from #22

add a subcommand parser dedicated to data archival:

  • should be implemented in a library form, with a console entrypoint that may serve as a Minimal Working Example

these operations should be performed separately:
query a Shaarli instance to get a list of links
parse a list of links and retrieve/archive corresponding media

Archival preferences could be specified in a config file

  • local archive directories
  • multimedia preferences, e.g. audio & video formats

Suggestions:

  • move API commands to an api subparser, and declare other subparsers for specific actions:
   $ shaarli api <params>
   $ shaarli archive <params>
   $ shaarli <action> <params>

there's also the possibility of providing an interactive CLI entrypoint using the click library (possibly overkill but potentially quite fun to write :) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant