A library to parse episode info from anime title
Project description
anime-episode-parser
try parse episode info from title
poetry add anime_episode_parser
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)
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for anime_episode_parser-0.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3ac91d7c3dbc890661dcbb9ff866c06302865e485215544b3a5644a4c15ac45 |
|
MD5 | 13bce1715fe46ef4b278534800d68b0e |
|
BLAKE2b-256 | e496d5e69d781f30a6224316eb2be150067813351b8fac625bec2dc249291823 |
Close
Hashes for anime_episode_parser-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b6fa60d2c018f2ca8130300f864940790558e1e634d5ed7632ae58ac5529ce5 |
|
MD5 | e3ce48ad10bc89ccc89f7c0847c4c154 |
|
BLAKE2b-256 | e0081fbd1423ecc2c9f946c01a4bc95c2fe575a626894439853587216c554a76 |