Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for specific title #29

Open
folgrym opened this issue Feb 25, 2019 · 1 comment
Open

Search for specific title #29

folgrym opened this issue Feb 25, 2019 · 1 comment
Assignees

Comments

@folgrym
Copy link

folgrym commented Feb 25, 2019

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',

@dawoudt dawoudt self-assigned this May 12, 2019
@dawoudt
Copy link
Owner

dawoudt commented May 12, 2019

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants