anime-episode-parser-0.0.7
توضیحات
A library to parse episode info from anime title
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | anime-episode-parser-0.0.7 |
| نام | anime-episode-parser |
| نسخه کتابخانه | 0.0.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Trim21 |
| ایمیل نویسنده | trim21.me@gmail.com |
| آدرس صفحه اصلی | https://github.com/BGmi/anime-episode-parser |
| آدرس اینترنتی | https://pypi.org/project/anime-episode-parser/ |
| مجوز | MIT |
# anime-episode-parser
try parse episode info from title
```bash
poetry add anime_episode_parser
```
```python
from anime_episode_parser import parse_episode
title = '[YMDR][哥布林殺手][Goblin Slayer][2018][05][1080p][AVC][JAP][BIG5][MP4-AAC][繁中]'
assert (5, 1) == parse_episode(title)
# 5 for episode start
# 1 for episodes count
title = '[从零开始的异世界生活 第二季_Re Zero S2][34-35][繁体][720P][MP4]'
assert (34, 2) == parse_episode(title)
# 34 for episode start
# 2 for episodes count
title = "something can't parse"
assert (None, None) == parse_episode(title)
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl anime-episode-parser-0.0.7:
pip install anime-episode-parser-0.0.7.whl
نصب پکیج tar.gz anime-episode-parser-0.0.7:
pip install anime-episode-parser-0.0.7.tar.gz