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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a3bbebe5f5a49d8990094bbeda3bfd8ba7282054b6b3bc014f9aa454e9ea95c |
|
MD5 | 5800981818c1b18282072eb350f60560 |
|
BLAKE2b-256 | 246400b8130fcb2a6d03c1815faf8bc6d506a1ed6c90d45713417c69d9c826f4 |
Close
Hashes for anime_episode_parser-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf85563c3a6e0eb3e66a5d8d777d49489244faf5dc843bac66218074dff05d10 |
|
MD5 | 6e170ec492329abf8bcd87c02b1d02cd |
|
BLAKE2b-256 | aabceff3880683bb57180704592d09bfbe0afbc0e8f23409303688211c2a6140 |