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

Change language in headers #46

Closed
damru opened this issue May 18, 2017 · 1 comment
Closed

Change language in headers #46

damru opened this issue May 18, 2017 · 1 comment

Comments

@damru
Copy link

damru commented May 18, 2017

Hi,

Is it possible to add an optional parameter which will specify the language we want to request IMDB with ?
I actually did it manually for a specific need, and forced request in english in the movies.js file :
request({headers: {'Accept-Language': 'en-US'}, uri: 'http://www.imdb.com/title/' + id + '/'}, function (error, response, body) {

@damru
Copy link
Author

damru commented May 18, 2017

I just saw another issue (#27) related to this. I'll contribute there.

@damru damru closed this as completed May 18, 2017
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