A simple to view anime aring date and upcoming anime.
Project description
Ani Shedule
This script fetches and displays information about anime titles from animeschedule.net. It supports searching by anime name or URL, validates and stores URLs, extracts anime details, and allows concurrent fetching using multiple threads. It includes a command-line interface for user interaction.
Features
- Search for anime titles by name or URL.
- Validate URLs and check for duplicates.
- Extract details like titles, episode numbers, and release dates.
- Fetch information concurrently using multiple threads.
- Command-line interface for easy interaction.
## Warning:
This program is still under development
Usage
-
Add Anime by Search Term:
python shedule.py -a <one piece>
Prompts the user to enter an anime name to search and add it to the list.
-
Add Anime by URL:
python shedule.py -a <anime_url>
Adds the provided anime URL to the list if valid and not already added.
-
Display Today's Anime:
python shedule.py -t
Displays the anime that are coming out on the current day.
-
Specify Number of Threads:
python shedule.py -s <number_of_threads>
Specifies the number of threads to use (default is 10).
Example
Add an anime by search term:
$ python shedule.py -a
Enter the name of the anime: One Piece
Available Anime Titles (Newest to Oldest):
1. One Piece
2. One Piece: Episode of Sabo
3. One Piece Film: Gold
Enter the number corresponding to your anime selection: 1
Url(https://animeschedule.net/anime/one-piece) is added to the file..
Main Title: One Piece
English Title: One Piece
Episode Number: 1023
Subs Release Date: June 18, 2024
Subs Countdown: 00:10:00
Raw Countdown: 00:20:00
Airing Day: 2024-06-18T00:00:00Z
Required Packages
tqdm
(Version: 4.63.0)lxml
(Version: 5.2.2)requests
(Version: 2.32.3)prompt-toolkit
(Version: 3.0.43)
Installation
Install view PIP
pip install ani-shedule
- for PIP install use the command
ani-shedule
NOTE:
- To update the program, you should use
ani-schedule -u
as updating the pip version is not applicable. - As soon as you install, update the program to move to the latest version because the pip version will not upgrade, it has a self-update mechanism.
- If you notice any issue or error, update and check again. If the problem persists, open an issue.
Manual Install
- Install Python (if not already installed).
- Install the required packages using pip:
pip install tqdm==4.63.0 pip install lxml==5.2.2 pip install requests==2.32.3 pip install prompt-toolkit==3.0.43
Step-by-Step Installation Process
-
Clone the Repository:
git clone https://github.com/yourusername/Ani-shedule.git cd Ani-shedule
-
Create a Virtual Environment (Optional but recommended):
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install Required Packages:
pip install tqdm==4.63.0 pip install lxml==5.2.2 pip install requests==2.32.3 pip install prompt-toolkit==3.0.43
-
Run the Script:
python script.py -a
License
This project is licensed under the MIT License. https://github.com/Kamanati/Ani-shedule.git
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ani-shedule-1.4.tar.gz
.
File metadata
- Download URL: ani-shedule-1.4.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90700ae7e65bf7fe09be40c3cd75cb4407e2bff9b29e62206952a95daa4db3ee |
|
MD5 | 5a4bf83760caa0d0e4767dba57989dc3 |
|
BLAKE2b-256 | e91f0ae3f90fbfeb515bf183fbf0ccaae431a61a7b2bc546d5eff31b0ec38617 |
File details
Details for the file ani_shedule-1.4-py3-none-any.whl
.
File metadata
- Download URL: ani_shedule-1.4-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcdcf68f44da3cda34c291d8389805f487839e85e500a5f46ddc35783d3cdae9 |
|
MD5 | afebcd7177de619259af7fa86f1d2ab2 |
|
BLAKE2b-256 | a8678ec56ec730982d9048627561dbf1571f0a3819839847c43d23783ad101a1 |