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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49a29df7b70033a1f099e543feebd79317489222cb6a43df33b901ce2fa1db03 |
|
MD5 | 29d3d293c471d64ddf5a1747f4ee42b5 |
|
BLAKE2b-256 | ed3a0019fd7df135f8f4a4c733aa8b4304ab91598975b52e56a744d0bf416b32 |
Close
Hashes for anime_episode_parser-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f19641bb25665b37d73d36ec87dbb0253377c24234d4b2dcf4b0a922c94f90be |
|
MD5 | 4eea7a44b1b267883c99ffb68d57e43f |
|
BLAKE2b-256 | 7bc859640d63499ae40f6771ce34e94c5b3a11e6a86e7b441d80457556a40457 |