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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47454e2806cefe7ab42de037cb23aada8fc5f52565772f22446a1bdede5c84a5 |
|
MD5 | eb0b054e53d94979748dedc665c607da |
|
BLAKE2b-256 | 6849bdac1e698f98e43efab5d2a42fcd3ab6584f2ac5894ef709f2f575c5de8c |
Close
Hashes for anime_episode_parser-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48243633785a609546521a629a984d9f6df1ccd66c4dd7dc10ed59d3065a634d |
|
MD5 | bd49c0c701669fc3fb5e0972b7364fa2 |
|
BLAKE2b-256 | ac495ee250c3107aed51e0d5a5eb0662158e93cbe0f14ae71e051e85e969f3e8 |