Skip to main content

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)

Release files for anime-episode-parser 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anime-episode-parser 0.0.15
File Size Uploaded
anime_episode_parser-0.0.15.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for anime-episode-parser 0.0.15
File Interpreter ABI Platform
anime_episode_parser-0.0.15-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / anime_episode_parser-0.0.15.tar.gz

Download URL anime_episode_parser-0.0.15.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b6270a7063ad753c1aa63c87dfca0c6c46bbb6005f2e89ff4f8f8180b10f3cf2
BLAKE2b-256 checksum
How to use checksums
b0472f5c73628f6854e244fe51262db167835b7aeb5cf3dd8bb7b7a1e507ece2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / anime_episode_parser-0.0.15-py3-none-any.whl

Download URL anime_episode_parser-0.0.15-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6461753c28ff1fca43a503a278bec50fd7597d9315150025b23d9315974b669b
BLAKE2b-256 checksum
How to use checksums
b39d9aea47da2db8116d0570382c007de96694779c46debf2b8e93379512c0d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.0.15 This release

2 release files

0.0.13

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page