EdJoPaTo / website-stalker

Track changes on websites via git
GNU Lesser General Public License v2.1
54 stars 6 forks source link

feat(config): add optional filename attribute #180

Closed Teufelchen1 closed 1 year ago

Teufelchen1 commented 1 year ago

Hi 🦌

This adds a filename attribute to the config. It provides one possible solution for #179

Downsides of my approach:

EdJoPaTo commented 1 year ago

The only downside I currently see is the single filename for multiple urls. Not sure how to handle that better. Currently it fails on config validation as the filename exists multiple times.

- url:
    - https://edjopato.de/
    - https://edjopato.de/post/
  filename: bla
  editors:
    …

Guess I'll just allow that and continue on.

EdJoPaTo commented 1 year ago

Thank you for your effort on this @Teufelchen1!