dawoudt / JustWatchAPI

Python 3 JustWatch.com API - https://justwatch.com
MIT License
319 stars 45 forks source link

monetization_types not filtering #44

Open mskay opened 4 years ago

mskay commented 4 years ago

When trying to filter by monetization_types, the results seem to be ignoring this filter. For example,

just_watch.search_for_item(monetization_types=['free']

is yielding

{'currency': 'USD',
  'date_created': '2019-08-27',
  'date_provider_id': '2019-08-27_8',
  'element_count': 3,
  'monetization_type': 'flatrate',
  'new_element_count': 3,
  'presentation_type': 'sd',
  'provider_id': 8,
  'type': 'aggregated',
  'urls': {'deeplink_android_tv': '80242905',
           'deeplink_fire_tv': 'intent://www.netflix.com/watch/80242905#Intent;launchFlags=0x00800000;scheme=https;package=com.netflix.ninja;S.source=30;end',
           'deeplink_tvos': 'nflx://www.netflix.com/watch/80113701',
           'standard_web': 'http://www.netflix.com/title/80113701'}},
neeravmakwana commented 4 years ago

Even country or content types does not seem to be filtering correctly.

just_watch = JustWatch(country = 'CA', providers = ['nfx'])
results = just_watch.search_for_item(page=1,page_size=1000, content_types=['movie'])

The above brings both movies and shows in results. Additionally, many movies are not there in Netflix Canada library.