pat310 / google-trends-api

An API layer on top of google trends
https://www.npmjs.com/package/google-trends-api
MIT License
889 stars 176 forks source link

Enable Proxy Support #92

Closed aaronmefford closed 6 years ago

aaronmefford commented 6 years ago

Thanks for the great work on this Google Trends API, worked painlessly. However, I found I needed proxy support to be able to complete my task.

I modified the source and included is a pull request that makes it possible to include an agent value as part of the query, allowing specifying a proxy agent to the https request module.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.04%) to 98.095% when pulling 89b28e2294acf83a5cc7c76b220cf641ee9af2bd on aaronmefford:master into 9c59b96d0689ab11f42c7859e4693c0beb4e94cb on pat310:master.

pat310 commented 6 years ago

closes #91

Dayjo commented 6 years ago

Very nice 👍