diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-09 23:29:58 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-09 23:29:58 +0100 |
commit | afdf9e2e2616db4036477574095ee0d3a3635063 (patch) | |
tree | e65b1dc3bb7c21cab89f8af7798818ffe5edede5 | |
parent | 1d7d8494dd0513c6d150b0af458d67347a1b304c (diff) |
-rwxr-xr-x | plugins/mangakatana.py | 2 | ||||
-rw-r--r-- | src/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mangakatana.py b/plugins/mangakatana.py index 85fd8d0..586c4ee 100755 --- a/plugins/mangakatana.py +++ b/plugins/mangakatana.py @@ -110,7 +110,7 @@ def get_javascript_string_arrays(js_source): return arrays arr = js_source[start:end].replace("'", "").split(",") - arrays.extend(list(filter(None, arr))) + arrays.extend(list(filter(lambda x: x is not None and ".com" in x, arr))) start = end + 1 def uniq_str_arr(arr): @@ -82,7 +82,7 @@ static void usage_cleanup(void) { fprintf(stderr, "usage: automedia cleanup [-d <days>] [search_term]\n"); fprintf(stderr, "OPTIONS\n"); fprintf(stderr, " -d <days> Media that haven't received any updates in the specified amount of days will be shown. If not specified then all media will be included\n"); - fprintf(stderr, " search_term The name of the media to find. If not inclued then all media (within -d days) will be included. Note this is case insensitive\n"); + fprintf(stderr, " search_term The name of the media to find. If not specified then all media (within -d days) will be included. Note this is case insensitive\n"); fprintf(stderr, "EXAMPLES\n"); fprintf(stderr, " automedia cleanup -d 100\n"); fprintf(stderr, " automedia cleanup baki\n"); |