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 functionality is broken #13

Closed
bennieboj opened this issue Aug 28, 2019 · 1 comment
Closed

Search functionality is broken #13

bennieboj opened this issue Aug 28, 2019 · 1 comment

Comments

@bennieboj
Copy link
Contributor

I tried to search, however I didn't get any subtitles back, the html returned by addic7ed is an empty string.

Repro code:

let addic7edApi = require('addic7ed-api');

addic7edApi.search("Suits", "09", "06", ['eng'])
.then(function (subtitlesList) {
    console.log(subtitlesList);
})
.catch(function(e){
    console.log("ERROR: ", e)
});

Which is equivalent to this URI: https://www.addic7ed.com/search.php?search=Suits%2009x06&Submit=Search

If I try this when logged in it works, but not in an incognito window.

I don't have time to look into this for the next three weeks since I'm on holiday otherwise I'm happy to help.

@bennieboj
Copy link
Contributor Author

Issue seems to have been at addic7ed's side, everything seems to work again now.

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

1 participant