-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from isaacholtis/isaac
Merged isaac branch with Main. This commit version adds updates the readme and adds basic functionality to the bot
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# Simple-Bing-Bot | ||
|
||
This is a simple bing rewards bot, that will currently completes bing searches to give you microsoft rewards points. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
import webbrowser | ||
import random | ||
|
||
webbrowser.open("microsoft.com") | ||
searchNum = int(input("Please input the number of tabs you want to open.\nPlease note that the more tabs you open the more ram you will use, and we are not responsible for your computer crashing.\n-->")) | ||
|
||
num = 0 | ||
webLink = [] | ||
for i in range(searchNum): | ||
webLink.append(f"https://www.bing.com/search?q={(i + 1)}") | ||
for i in range(searchNum): | ||
webbrowser.open (webLink[i]) | ||
print(webLink) |