jack-mil / bing-rewards

A script to automate daily Bing rewards points
MIT License
177 stars 23 forks source link

How can I use MS Edge instead of Chrome, is there any simpler way to do it? #28

Closed rahul-s-bhatt closed 1 year ago

rahul-s-bhatt commented 1 year ago

Hi, Is there any simpler way to use MS Edge instead of Chrome while configuring?

jack-mil commented 1 year ago

On Windows, I have set my config at "C:\Users\jackmil\AppData\Roaming\bing-rewards\config.json" to the below. You can set the browser path to any chromium based browser. Alternativly, launch with the --exe flag and a path to the executable.

{
    "desktop-count": 34,
    "mobile-count": 40,
    "load-delay": 1.5,
    "search-delay": 2,
    "search-url": "https://www.bing.com/search?q=",
    "desktop-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36 Edg/83.0.478.37",
    "mobile-agent": "Mozilla/5.0 (Windows Phone 10.0; Android 6.0.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Mobile Safari/537.36 Edge/18.19041",
    "browser-path": "C:\\Program Files (x86)\\BraveSoftware\\Brave-Browser\\Application\\brave.exe"
}
rahul-s-bhatt commented 1 year ago

@jack-mil Hi, thank you so much for such a quick response. It seemed to work.