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

YggTorrent usage issue #33

Closed
theguyhimself opened this issue Apr 5, 2018 · 0 comments
Closed

YggTorrent usage issue #33

theguyhimself opened this issue Apr 5, 2018 · 0 comments

Comments

@theguyhimself
Copy link

Hi !
Knowing that the domain suffix changed for YggTorrent, I forked and edited the file lib/providers/yggtorrent.js in order to change the baseUrl parameter to https://yggtorrent.is/
However, I still cannot reach any data, the API always returns an empty object.
Some sample code :
// credentials login
torrentSearch.enableProvider("Yggtorrent", "my-username", "my-password");
torrentSearch.search("Yggtorrent", '1080', 'Movies')
.then(torrents => {
res.send(torrents);
})
.catch(err => {
res.send(err);
});

Anyone has any idea or successfuly performed an API request for the Yggtorrent provider ?

Cheers

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