Main module¶
The main.py module contains the application's entry point and high-level interaction loop.
main()¶
The function:
- clears the console;
- creates a
VideoDownloader; - collects download configuration;
- asks the user to confirm;
- starts the download;
- asks whether another download should be performed.
Running the module¶
The script can be executed directly:
python main.py
The module uses the standard Python entry-point guard:
if __name__ == "__main__":
main()
Class reference¶
main
¶
Main script for the Video Downloader application.
This script initializes the VideoDownloader class, prompts the user for download options,
and handles multiple download requests in a loop. It supports both single video links
and TXT files containing multiple links, as well as video or audio download modes.
main()
¶
Run the Video Downloader application.
Continuously prompts the user for download options and executes downloads until the user chooses to exit.
Returns:
| Name | Type | Description |
|---|---|---|
None |
None
|
This function does not return a value. |