Is there a way to pass the year field on this new api like on the old one?
Is it really necessary to pass file size and hash together? can I just pass file size?
Thanks.
Will try it. Thanks.Hi,
you have to search by moviename (1st query) and then hash and filesize (2nd query)
Just to be clear, are you suggesting I make two searches or that I rearrange the search parameters?Hi,
you have to search by moviename (1st query) and then hash and filesize (2nd query)
Ok, two separate queries is how we have it implemented now, just wanted to make sure that was ok and there was no better way.Hi
the best is to make two separate requests. To be clear:
https://rest.opensubtitles.org/search/m ... uageid-eng
is redirecting to
https://rest.opensubtitles.org/search/m ... uageid-eng
https://rest.opensubtitles.org/search/q ... uageid-eng
is redirecting to
https://rest.opensubtitles.org/search/m ... uageid-eng
so as you can see query is totally ignored when there is moviehash and moviebytesize, the best is "sort" parameters in URL as written in first message in this topic.
so 2nd query would be:
https://rest.opensubtitles.org/search/q ... uageid-eng
Yeah that is exactly how we are doing it, second query if the first was empty. Thanks.basically, the best is moviehash and size search, if that will bring no desired results, query is the last best option.
Code: Select all
curl -A 'TemporaryUserAgent' https://rest.opensubtitles.org/search/moviebytesize-750005572/moviehash-319b23c54e9cf314
Users browsing this forum: No registered users and 23 guests