Minor fixes (#133)

This commit is contained in:
Francesco Grazioso 2024-05-27 10:32:40 +02:00 committed by GitHub
parent 20eae18cff
commit 1a33eaf894
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ def download_episode(index_select: int):
# Get information about the selected episode
obj_episode = video_source.get_info_episode(index_select)
start_message(True)
start_message()
console.print(f"[yellow]Download: [red]EP_{obj_episode.number} \n")
# Get the embed URL for the episode
@ -48,7 +48,7 @@ def download_episode(index_select: int):
# Create output path
mp4_path = None
mp4_name = f"{index_select}.mp4"
mp4_name = f"{index_select + 1}.mp4"
if video_source.is_series:
mp4_path = os.path.join(ROOT_PATH, ANIME_FOLDER, SERIES_FOLDER, video_source.series_name)
else: