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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 316310444f86e337e2201824cc72f46bfba6b292b0c43f5182ec13aa11057977 |
|
MD5 | ca36b47912f05070b4c2cb2e917bc3e3 |
|
BLAKE2b-256 | 61946240bdbc3cb096e57ddbb580cd328c8350d6173be83889f8a2f090cfb139 |
Close
Hashes for anime_episode_parser-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 724306818134714ab39b0ef687ae068e28895557f6f2de3723140f5971d29330 |
|
MD5 | 5a3a2ade867066f880ec2d86b70fd461 |
|
BLAKE2b-256 | 8c0c1c8108c6c3ab2211711e06bcb5c979f7ce381122156bec7e5fca6ad5b79d |