Add TMDBExtractor class for movie information extraction

- Implement TMDBExtractor to fetch movie details from The Movie Database (TMDB) API.
- Include caching mechanism for API responses to reduce redundant requests.
- Extract movie database ID from filenames using regex patterns.
- Add methods to extract TMDB ID, title, original title, release year, and TMDB URL.
- Create secrets.py to store TMDB API key and access token.
- Add a sample MKV file for testing purposes.
This commit is contained in:
sha
2025-12-28 09:02:42 +00:00
parent 97bacf602c
commit 9a78dc2540
10 changed files with 439 additions and 5 deletions
+10 -1
View File
@@ -53,4 +53,13 @@ class DefaultExtractor:
return []
def extract_subtitle_tracks(self):
return []
return []
def extract_tmdb_url(self):
return None
def extract_tmdb_id(self):
return None
def extract_original_title(self):
return None