diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-01-16 11:24:24 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-01-16 11:24:24 +0100 |
commit | 9281e283cd46598e3ffee853a343f8623c12d5e4 (patch) | |
tree | 1706bceb579d21a562b550c26c2b7f9bc761e4e1 /rss_to_gitea/main.py | |
download | atom_to_gitea-9281e283cd46598e3ffee853a343f8623c12d5e4.tar.gz |
init
Diffstat (limited to 'rss_to_gitea/main.py')
-rw-r--r-- | rss_to_gitea/main.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rss_to_gitea/main.py b/rss_to_gitea/main.py new file mode 100644 index 0000000..93c16de --- /dev/null +++ b/rss_to_gitea/main.py @@ -0,0 +1,8 @@ +import xml +import sys +from .gitea import GiteaAPI + +def main(): + token = sys.argv[1] + api = GiteaAPI("https://gitea.my.cum.re", token) + api.searchIssue('infra', 'ansible', '', 'update') |