truedread / pymsl

Python library for interacting with the Netflix MSL API
GNU General Public License v3.0
77 stars 27 forks source link

Issue to get manifest for some shows #7

Closed kidburglar closed 3 years ago

kidburglar commented 3 years ago

Hello

I tried to get the manifest with this code

The show is "Girl from Nowhere" (https://www.netflix.com/be-fr/title/80241947)

import pymsl

user_auth_data = {
      'scheme': 'EMAIL_PASSWORD',
      'authdata': {
          'email': 'xxx',
          'password': 'xxx'
      }
  }

client = pymsl.MslClient(user_auth_data)

client.load_manifest(80241947)

But I got this error

pymsl.exceptions.ManifestError: {'version': 2, 'id': 15429961728572, 'serverTime': 1636250607561, 'from': 'nq_cadmium_pbo_manifests@2.97.0/pbo-client@2.97.0', 'error': {'pboc': True, 'code': 'FAIL', 'detail': 'manifest/pbcs-512: Viewable is not a movie or episode. (E3-BQFRAAELEKp7d3Kw3Kid0WYMwQELqo-Aw9hoWr4IzNi0fKjD7DZ7xwap-VG_1OqLossBNsTTPan3wLWeYYKhEHnZUegK1NExv7IGJN4Bpv-Sczk-LnP_eZQo4toiZiBGK5VO8BkKEDSbyZAciT5MWE8VTZRTXHpOwuSKglrc4OIk1FKrmH1SLI3C65Te1lOy5yFh_RYOR_zwiAv-8IYEjAXlqpqILThMZQ1NgHtOKpP-8ToUVlmIW1gX2_NGF-A8TnCm6g2jBevyrI_JHXwi5EiE2IU-ulbddd--dQ==) [viewableId=80241947] (nq_cadmium_pbo_manifests@2.97.0/pbo-client@2.97.0)', 'display': 'This title is not available to watch instantly. Please try another title.', 'alertTag': '', 'errorDisplayMessage': 'This title is not available to watch instantly. Please try another title.', 'errorActionId': 3, 'nccpError': {}, 'errorSubCode': 0, 'errorReasonCode': 0, 'errorNccpCode': 0, 'errorExternalCode': 0, 'bladeRunnerMessage': 'manifest/pbcs-512: Viewable is not a movie or episode. (E3-BQFRAAELEKp7d3Kw3Kid0WYMwQELqo-Aw9hoWr4IzNi0fKjD7DZ7xwap-VG_1OqLossBNsTTPan3wLWeYYKhEHnZUegK1NExv7IGJN4Bpv-Sczk-LnP_eZQo4toiZiBGK5VO8BkKEDSbyZAciT5MWE8VTZRTXHpOwuSKglrc4OIk1FKrmH1SLI3C65Te1lOy5yFh_RYOR_zwiAv-8IYEjAXlqpqILThMZQ1NgHtOKpP-8ToUVlmIW1gX2_NGF-A8TnCm6g2jBevyrI_JHXwi5EiE2IU-ulbddd--dQ==) [viewableId=80241947] (nq_cadmium_pbo_manifests@2.97.0/pbo-client@2.97.0)', 'bladeRunnerCode': '512'}}

If I use the viewable ID of the first episode, it's working. Any ideas, what does it make go wrong?

Thanks for your help.

kadogo commented 3 years ago

It looks like the same issue of https://github.com/truedread/pymsl/issues/1, but there are no more information that can help to fix it.

ghost commented 3 years ago

You can't use the season ID in the MSL API. Use the shakti metadata API to retrieve a list of episode IDs and load the manifest for each one separately.

kidburglar commented 3 years ago

Ok thanks, thinking about it now, it's logical that a complete show will not have a manifest.