Add Airing and progress output
Mushoku Tensei 02 Shingeki no Kyojin 65 Signed-off-by: MK13 <marius@kleberonline.de>
This commit is contained in:
@@ -14,6 +14,7 @@ RED = CSI + "91;49m"
|
||||
GREEN = CSI + "92;49m"
|
||||
BOLD_RED = BOLD + RED
|
||||
BOLD_GREEN = BOLD + GREEN
|
||||
UNDERLINE = CSI + "4;4m"
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("c", help="path to the config.json file", type=str, default="config.json", nargs='?')
|
||||
@@ -39,7 +40,9 @@ for feed in feeds["Feeds"]:
|
||||
NewsFeed = feedparser.parse(feed["URL"])
|
||||
|
||||
for anime in feed["Animes"]:
|
||||
print("Checking anime: " + BOLD_RED + anime["Title"] + RESET)
|
||||
print(
|
||||
"Checking anime: " + BOLD_RED + anime["Title"] + RESET + " - Airing every " + UNDERLINE + anime["Airing"] +
|
||||
RESET + " " + anime["Local"] + "/x")
|
||||
|
||||
for entry in NewsFeed.entries:
|
||||
if anime["Title"] in entry.title:
|
||||
|
||||
Reference in New Issue
Block a user