forenta
5e931082e4
rssingle.py: Filter items with filter_strings from config.yml
...
Relates to #31 , combined #31 and #32 into one PR.
NOTE: Edited to remove typo fix, this will be committed later on.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2024-04-10 22:42:30 +01:00
Dom Rodriguez
e17c396fb2
fix(typo): Fix typo in script
2024-04-10 22:40:37 +01:00
Andros Fenollosa
0dfb71de00
Merge branch 'master' into add-limit-entries
2023-10-26 14:53:27 +02:00
Andros Fenollosa
e8c77f3398
Add general exception
...
Co-authored-by: Dom Rodriguez <shymega@shymega.org.uk>
2023-07-06 18:17:37 +01:00
Andros Fenollosa
dd16696103
Add var config max entries
...
Use `max_entries` as YAML key.
Co-authored-by: Dom Rodriguez <shymega@shymega.org.uk>
2023-07-06 18:11:15 +01:00
Andros Fenollosa
846de90642
Merge pull request #7 from shymega/shymega/prs/remove-unused-var
...
Remove unused variables, and duplicate assignments
2023-07-06 11:36:48 +02:00
Andros Fenollosa
758733d025
Merge pull request #6 from shymega/shymega/prs/exceptions
...
Improve Exception handling, and catch explicit Exceptions
2023-05-16 16:36:22 +02:00
Dom Rodriguez
52ccc2e676
Explicitly define the return type of get_url_from_feed(config)
...
This commit explicitly defines the return type of the
get_url_from_feed(config) function.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2022-09-13 20:19:03 +01:00
Dom Rodriguez
df52406dfe
Improve Exception handling, and catch explicit Exceptions
...
This commit improves Exception handling, and made some changes to
try/catch blocks, where the `KeyError` is now explicitly caught. If in
the future, we have reports of other Exceptions being caught, we can
include those in the handling.
For now, I've used BaseException for two try/catch blocks. I need to
check what exceptions can happen there.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2022-09-13 19:43:58 +01:00
Dom Rodriguez
3347b233de
Remove unused variables, and duplicate assignments
...
This commit removes an unused variable, and the duplicate assignments in
the main entrypoint.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2022-09-13 19:30:36 +01:00
Andros Fenollosa
43b9a1e3b0
Update config
2022-06-19 18:24:55 +02:00
Andros Fenollosa
5edf3eeda1
First commit
2022-06-19 18:17:57 +02:00