|
|
@ -4,7 +4,12 @@ from datetime import datetime
|
|
|
|
from functools import cached_property
|
|
|
|
from functools import cached_property
|
|
|
|
import itertools
|
|
|
|
import itertools
|
|
|
|
import math
|
|
|
|
import math
|
|
|
|
from typing import Literal, Optional, Sequence, TypedDict
|
|
|
|
from typing import (
|
|
|
|
|
|
|
|
Literal,
|
|
|
|
|
|
|
|
Optional,
|
|
|
|
|
|
|
|
Sequence,
|
|
|
|
|
|
|
|
TypedDict,
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
import tmdbsimple as tmdb
|
|
|
|
import tmdbsimple as tmdb
|
|
|
|
|
|
|
|
|
|
|
@ -96,7 +101,12 @@ class TmdbMovieInfoDict(TypedDict):
|
|
|
|
release_date: Optional[str]
|
|
|
|
release_date: Optional[str]
|
|
|
|
runtime: Optional[int]
|
|
|
|
runtime: Optional[int]
|
|
|
|
status: Literal[
|
|
|
|
status: Literal[
|
|
|
|
"Rumored", "Planned", "In Production", "Post Production", "Released", "Canceled"
|
|
|
|
"Rumored",
|
|
|
|
|
|
|
|
"Planned",
|
|
|
|
|
|
|
|
"In Production",
|
|
|
|
|
|
|
|
"Post Production",
|
|
|
|
|
|
|
|
"Released",
|
|
|
|
|
|
|
|
"Canceled",
|
|
|
|
]
|
|
|
|
]
|
|
|
|
title: str
|
|
|
|
title: str
|
|
|
|
|
|
|
|
|
|
|
|