JustWatchAPI icon indicating copy to clipboard operation
JustWatchAPI copied to clipboard

Search for specific title

Open folgrym opened this issue 6 years ago • 1 comments

Is it possible to search for specific movie or TV titles based off exact matches of the text that you provide? So far my testing on just_watch.search_for_item withquery and original_title it always seems to return all results that match any of the words, for example:

from justwatch import JustWatch

just_watch = JustWatch(country='US')

results = just_watch.search_for_item(
    query = "Ant-Man and the Wasp",
    original_title="Ant-Man and the Wasp",
    content_types=['movie'],
    monetization_types=["flatrate","free","ads"])


print(results.items())

dict_items([('page', 0), ('total_results', 2629), ('total_pages', 0), ('items',

folgrym avatar Feb 25 '19 17:02 folgrym

Will try and find out if there is an end point for an exact query. If not, ill try and write some logic to get an exact result 👍

dawoudt avatar May 12 '19 02:05 dawoudt