💵 Website Ad Revenue Calculator

GuessIt is a Python library that extracts information from a video filename

GuessIt is a Python library that extracts information from a video filename.

guessit  - python library

This matcher can guess properties from a video, such as movies and TV episodes, just by using the filename. It is very powerful and accurate.

GuessIt, for example, 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"
}