Nekmo / amazon-dash

Hack your Amazon Dash to run what you want.
MIT License
816 stars 69 forks source link

Added a User Agent in Headers #177

Open HapPiNeHsSs opened 2 years ago

HapPiNeHsSs commented 2 years ago

The request fails (403) in some sites that requires User Agents. Sites like https://www.virtualsmarthome.xyz requires a User Agent. Since this site is widely used to call Alexa routines via URL, adding a User Agent on the request() seems prudent.