chronicle-app / chronicle-etl

📜 A CLI toolkit for extracting and working with your digital history
https://chronicle.app/
MIT License
149 stars 3 forks source link

Plugin connectors should be able to specify different strategies #56

Closed hyfen closed 6 months ago

hyfen commented 2 years ago

A plugin might have different ways of extracting the same type of records. For example, youtube history can come from a Google Takeout export, the official API, or a scraper.

Right now, specifying a connector is a plugin:identifier but we could add an optional middle item to specify a strategy. Syntax: chronicle-etl -e youtube:scraper:likes. If strategy is left out, we can find the first connector that matches the identifier.

Alternatively, different strategies could just be housed in their own plugins. Invoking them this way: chronicel-etl -e youtube-scraper:likes