From a1424d378cf014690ad8ab4746c70b973dd3a32d Mon Sep 17 00:00:00 2001 From: Prateek Mahendrakar Date: Sun, 20 Sep 2020 17:42:24 -0400 Subject: [PATCH 1/3] updated --- .Net Core/MSRewards/MSRewards.csproj | 17 ++++++++++++++++ README.md | 30 +++++++++++++++++----------- 2 files changed, 35 insertions(+), 12 deletions(-) diff --git a/.Net Core/MSRewards/MSRewards.csproj b/.Net Core/MSRewards/MSRewards.csproj index 4784370..c7f4fd4 100644 --- a/.Net Core/MSRewards/MSRewards.csproj +++ b/.Net Core/MSRewards/MSRewards.csproj @@ -5,6 +5,19 @@ netcoreapp3.1 false MSRewards.Program + Prateek Mahendrakar + + .NetCore package to automate bing search to get daily search rewards. + + https://github.com/pmahend1/BingRewards/tree/master/.Net%20Core + https://github.com/pmahend1/BingRewards + git + 1.0.0-alpha + bing, search, bingrewards, microsoftrewards + Alpha version + en + true + MIT @@ -19,4 +32,8 @@ + + + + diff --git a/README.md b/README.md index bc5e810..13a65f5 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ Code automate bing search to get daily search rewards. 1. Python -1. .NetCore(C#) - -## Python +1. .NetCore(C#) + +## [1] Python Check out Medium blog [Earn 500+ daily Microsoft rewards points automatically with a simple Python program](https://medium.com/@prateekrm/earn-500-daily-microsoft-rewards-points-automatically-with-a-simple-python-program-38fe648ff2a9) or [GitHub blog](https://pmahend1.github.io/BingRewards/) @@ -34,7 +34,7 @@ Check out Medium blog [Earn 500+ daily Microsoft rewards points automatically wi git clone https://github.com/pmahend1/BingRewards ``` -- Replace `your-email-id` in the code with your enail id. +- Replace `your-email-id` in the code with your email id. - Replace `your_password` in the code with your password. @@ -44,24 +44,30 @@ Check out Medium blog [Earn 500+ daily Microsoft rewards points automatically wi python get_rewards_firefox_desktop.py ``` -## .Net Core(C#) +## [2] .Net Core(C#) This will run for both PC Search and Mobile points until all the points are gained. - Build the project via Visual Studio 2019 - + +- Edit **Resources.json** file to point to respective locations for Edge-Chromium. Be sure to have right version of Edgium driver downloaded and pointed based on your existing Edgium version. You can download [Edge-Chromium driver from here.](https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/) + - Run program - ```powershell - ./MSRewards.exe "myemail@somedomain.com" "mypassword" + ``` powershell + ./MSRewards.exe -E "myemail@somedomain.com" -P "mypassword" -F + ./MSRewards.exe --email "myemail@somedomain.com" --password "mypassword" --use-firefox ``` +- Command Parameters + `-E` or `--email` - email address. + `-P` or `--password` - password. + `-F` or `--use-firefox` (Optional) : will use Edge-Chromium if not passed. ## Known Issues -- Since release of Edgium(New Microsoft Edge based on Chromium) and subsequent releases of web drivers there may be an issue with Selenium driver run sometimes. Please [raise an issue](https://github.com/pmahend1/BingRewards/issues) to report them. +- Edge-Chromium's Selenium web driver can have runtime issues sometimes and program execution may stop abruptly. You can [raise an issue](https://github.com/pmahend1/BingRewards/issues) to report them. + ## Binaries -- You can download latest binaries from [Releases](https://github.com/pmahend1/BingRewards/releases) and run on Windows. If you build on Linux it should have similar files. +- You can download latest binaries from [Releases](https://github.com/pmahend1/BingRewards/releases) or [GitHub packages](https://github.com/pmahend1/BingRewards/packages/405894) and run on Windows. If you build on Linux it should have similar files. From b5b247446edff141d92bca49bf047c70875b942f Mon Sep 17 00:00:00 2001 From: Prateek Mahendrakar Date: Sun, 20 Sep 2020 17:50:16 -0400 Subject: [PATCH 2/3] reverted Github Packages link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 13a65f5..169070a 100644 --- a/README.md +++ b/README.md @@ -70,4 +70,4 @@ This will run for both PC Search and Mobile points until all the points are gain ## Binaries -- You can download latest binaries from [Releases](https://github.com/pmahend1/BingRewards/releases) or [GitHub packages](https://github.com/pmahend1/BingRewards/packages/405894) and run on Windows. If you build on Linux it should have similar files. +- You can download latest binaries from [Releases](https://github.com/pmahend1/BingRewards/releases) run on Windows. If you build on Linux or Mac it should have similar files. From f8a57f695b86fcbcaecd85718c3244d8a6471629 Mon Sep 17 00:00:00 2001 From: Prateek Mahendrakar Date: Sun, 20 Sep 2020 20:28:41 -0400 Subject: [PATCH 3/3] reverted csproj --- .Net Core/MSRewards/MSRewards.csproj | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.Net Core/MSRewards/MSRewards.csproj b/.Net Core/MSRewards/MSRewards.csproj index c7f4fd4..a2407e8 100644 --- a/.Net Core/MSRewards/MSRewards.csproj +++ b/.Net Core/MSRewards/MSRewards.csproj @@ -5,19 +5,6 @@ netcoreapp3.1 false MSRewards.Program - Prateek Mahendrakar - - .NetCore package to automate bing search to get daily search rewards. - - https://github.com/pmahend1/BingRewards/tree/master/.Net%20Core - https://github.com/pmahend1/BingRewards - git - 1.0.0-alpha - bing, search, bingrewards, microsoftrewards - Alpha version - en - true - MIT @@ -32,8 +19,4 @@ - - - - - + \ No newline at end of file