mirror of
https://github.com/zoriya/guessit.git
synced 2026-08-16 02:44:52 +00:00
aa85b2e6bc19c6162d16efbff1d92948cea30ea3
pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op References: https://bugs.python.org/issue39682 https://bugs.python.org/issue46556 https://github.com/python/cpython/commit/06e1701ad3956352bc0f42b8f51c2f8cc85bf378
…
GuessIt
GuessIt is a python library that extracts as much information as possible from a video filename.
It has a very powerful matcher that allows to guess properties from a video using its filename only. This matcher works with both movies and tv shows episodes.
For example, GuessIt can do the following:
$ guessit "Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi"
For: Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi
GuessIt found: {
"title": "Treme",
"season": 1,
"episode": 3,
"episode_title": "Right Place, Wrong Time",
"source": "HDTV",
"video_codec": "Xvid",
"release_group": "NoTV",
"container": "avi",
"mimetype": "video/x-msvideo",
"type": "episode"
}
More information is available at guessit-io.github.io/guessit.
Support
This project is hosted on GitHub. Feel free to open an issue if you think you have found a bug or something is missing in guessit.
GuessIt relies on Rebulk project for pattern and rules registration.
License
GuessIt is licensed under the LGPLv3 license.
Description
GuessIt is a python library that extracts as much information as possible from a video filename.
2 MiB
Languages
Python
99.8%
Nix
0.1%