diff options
-rwxr-xr-x | autonyaa.py | 2 | ||||
-rw-r--r-- | readme.md | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/autonyaa.py b/autonyaa.py index a84e801..23bc3be 100755 --- a/autonyaa.py +++ b/autonyaa.py @@ -126,7 +126,7 @@ def start_dl(result, section, vars): print("linking " + section["name"]) print(source + " -> " + target) os.makedirs(os.path.dirname(target), exist_ok=True) - os.link(source, target) + os.symlink(source, target) else: transmission_client.add_torrent(result.findtext("link")) print("adding torrent: " + result.findtext("title")) @@ -6,6 +6,9 @@ transmission daemon, and symlinks them once they're done downloading it's intentionally janky, because i don't expect it to work for a long time. if it keeps working (well) for long enough i'll refactor/document the code better. +2024 update: it's been working great for the past 2 years but i am now scared +to refactor the code. + ## configuration > because autonyaa is intentionally janky, it expects all configuration.an keys @@ -119,9 +122,3 @@ added before the season variable: episodes e 24 12 12 s ``` -## todo - -- [x] implement episode limit -- [x] implement match-submitter - - |