diff options
-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"); |