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
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
View pip:
pip install ani-shedule
Manual installation
- 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.2.tar.gz
.
File metadata
- Download URL: ani_shedule-1.2.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9260db34920a00d9d1eeb30f8c7544285c49aaa8dd3e43813c438b640af1f6f5 |
|
MD5 | 126337d1fce7f000bded369608a3538f |
|
BLAKE2b-256 | 8612daa7188236dfd635f5392f6c44b55c5cfc1748ddcf3a5e37532a1f679750 |
File details
Details for the file ani_shedule-1.2-py3-none-any.whl
.
File metadata
- Download URL: ani_shedule-1.2-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9df6bda69ab94ea5325f96c3a01f2dba909ae0efdc4a080a1dc3a758566754e8 |
|
MD5 | e78fa11f55a2d27d0cb7a99b765c21cd |
|
BLAKE2b-256 | 5932d7467de7424817fcd76069dbc222562052b7af2bd42be9478f5cf8d9ea73 |