
Fetches poster images from movieposter.com
Definition at line 96 of file fetch_poster.py.
Public Member Functions | |
| def | fetch |
| def | find_poster_image_url |
| def | title_search |
| def | parse_title_search_results |
| def fetch_poster::MoviePosterPosterFetcher::fetch | ( | self, | ||
| title_string, | ||||
imdb_id = None | ||||
| ) |
Fetch and download to a local temporary filename movie posters for the given title. Return empty list in case no images was found.
Reimplemented from fetch_poster::PosterFetcher.
Definition at line 100 of file fetch_poster.py.
| def fetch_poster::MoviePosterPosterFetcher::find_poster_image_url | ( | self, | ||
| poster_page_url | ||||
| ) |
Parses the given poster page and returns an URL pointing to the poster image.
Definition at line 116 of file fetch_poster.py.
| def fetch_poster::MoviePosterPosterFetcher::title_search | ( | self, | ||
| title_string | ||||
| ) |
Executes a title search on movieposter.com. Returns a list of URLs leading to the page for the poster for the given title_string.
Definition at line 132 of file fetch_poster.py.
| def fetch_poster::MoviePosterPosterFetcher::parse_title_search_results | ( | self, | ||
| result_page, | ||||
| title_string | ||||
| ) |
Parses the result page of a title search on movieposter.com. Returns a list of URLs leading to a page with poster for the given title.
Definition at line 156 of file fetch_poster.py.
1.5.5