diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-04-15 14:24:40 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-04-15 14:24:40 +0200 |
commit | aa8f08f79717b500f9e695ba87b1a9a8de146c74 (patch) | |
tree | f6861fb0693ce3dab45aa6738b0b25eb00c9b4fd | |
parent | 53cbdbfc3f83910946d2fa91e8a60f9ad0c7ef3e (diff) |
-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 - - |