mirror of
https://github.com/shadoll/moma.git
synced 2026-08-28 11:33:25 +00:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user