Git Product home page Git Product logo

Comments (13)

jack-mil avatar jack-mil commented on June 6, 2024 2

I'm going to look into this. I have noticed a similar issue occasionally when I use it with Edge. I think there might have been some breaking change related to the user agent.

from bing-rewards.

rahul-s-bhatt avatar rahul-s-bhatt commented on June 6, 2024 1

@jack-mil closing all the edge processes did the trick!
Thanks.

from bing-rewards.

JonrGull avatar JonrGull commented on June 6, 2024

I'm not great at Python, but I will take a look around as well. I do believe they changed something within the past two weeks or so. Sorry that isn't very helpful.

Unsure if you have upgraded to Windows 11 yet, but I just wanted to let you know that it still works, albeit I can't quite figure out the PATH part.

So I just do a direct path to my Edge browser and it works wonderfully outside of the mobile points.

from bing-rewards.

jack-mil avatar jack-mil commented on June 6, 2024

Interesting, so I tried using Brave instead of Edge (Both chromium browsers with the --user-agent switch) and it seems to load the mobile versions of Bing's website. I think this might be a change in the Edge Browser that doesn't load the user agent from the command line switch.
It is working with the latest version of Brave, 1.43.93 (Chromium 105.0.5195.127)

from bing-rewards.

JonrGull avatar JonrGull commented on June 6, 2024

I see! Yes when I ran this command on Brave the switch works and it counts mobile searches. So you're right, it's possible it's a browser issue.

It seems Brave is the only one that works for now then.

from bing-rewards.

JonrGull avatar JonrGull commented on June 6, 2024

I tried changing the user agent string in the config file in APPDATA, using the device emulation tool, and this site to generate the string.

I kind of have a feeling that my settings are not being taken into account, but it's possible the fix would be more complicated than that.

from bing-rewards.

spupuz avatar spupuz commented on June 6, 2024

does this also does the quizzes?

from bing-rewards.

rahul-s-bhatt avatar rahul-s-bhatt commented on June 6, 2024

@jack-mil @JonrGull I m not able get mobile points with brave/edge, is there a fix for this in 2023?

from bing-rewards.

jack-mil avatar jack-mil commented on June 6, 2024

@jack-mil I m not able get mobile points with brave/edge, is there a fix for this in 2023?

One thing I have noticed is that all browser processes have to be shut down when launching with the --user-agent flag in order for it to take effect. Example, I can't have a Brave PWA open in another window while loading a instance with mobile user agents. I assume Edge (Chromium) acts similarly.

I can do some testing with Edge specifically. sometimes it is hit or miss

from bing-rewards.

N190392 avatar N190392 commented on June 6, 2024

For me it still does not work on either Chrome or Brave (Edge seems to ignore completely mobile user agent). Tried to change user agents, still no luck
I even ran:

taskkill /f /im "chrome.exe"
taskkill /f /im "brave.exe"

before the script. Browser opens, does searches in mobile view, but I still see 0/60 mobile searches.
Maybe agents need to be updated? This is my config:

{
    "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:\\Users\\G\\AppData\\Local\\BraveSoftware\\Brave-Browser\\Application\\brave.exe"
}

from bing-rewards.

jack-mil avatar jack-mil commented on June 6, 2024

@N190392
Can you try this user agent string for mobile in your config?
I did some testing with Chrome 112.0.5615.138 and noticed the issue you are having.
Changing the user agent to list a newer browser version worked for me
Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1

from bing-rewards.

N190392 avatar N190392 commented on June 6, 2024

Unfortunately, still no luck with either Chrome or Brave...

from bing-rewards.

tobfromme avatar tobfromme commented on June 6, 2024

My mobile is working with Chrome 112.0.5615.165 on Linux. My config.json:

{
    "desktop-count": 100,
    "mobile-count": 100,
    "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": "/usr/bin/google-chrome-stable"
}

from bing-rewards.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.