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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5381472c9a941a9db65de62f8576410c65cbd445fa74eca85ae1259fdc4b5fa |
|
MD5 | fefffd96463c27fefeaf3066be5d6ef8 |
|
BLAKE2b-256 | 62c27d657f58cc31742555ab7ad95d2360514b1b16fcfcbff845119d533eb4cd |
Close
Hashes for anime_episode_parser-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98dc56e77c865c3ca01b0ccdb94bcf5a6f4cfbfd015cd6117fc6d3db102a11c8 |
|
MD5 | 6908c5e7d1357f63ebc71a7039726f76 |
|
BLAKE2b-256 | 157ab56de53e4d42a02685f619480da22a8f3b2cdf556cab7e71897db58b4bd2 |