mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-30 11:51:04 +00:00
fix: reduced cookie header length when calling with rewards bing api (#457)
Seems fine, not breaking. Thank!
This commit is contained in:
@@ -22,7 +22,11 @@ export class DoubleSearchPoints extends Workers {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.cookieHeader = this.bot.browser.func.buildCookieHeader(
|
this.cookieHeader = this.bot.browser.func.buildCookieHeader(
|
||||||
this.bot.isMobile ? this.bot.cookies.mobile : this.bot.cookies.desktop
|
this.bot.isMobile ? this.bot.cookies.mobile : this.bot.cookies.desktop, [
|
||||||
|
'bing.com',
|
||||||
|
'live.com',
|
||||||
|
'microsoftonline.com'
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
const fingerprintHeaders = { ...this.bot.fingerprint.headers }
|
const fingerprintHeaders = { ...this.bot.fingerprint.headers }
|
||||||
|
|||||||
@@ -26,7 +26,11 @@ export class FindClippy extends Workers {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.cookieHeader = this.bot.browser.func.buildCookieHeader(
|
this.cookieHeader = this.bot.browser.func.buildCookieHeader(
|
||||||
this.bot.isMobile ? this.bot.cookies.mobile : this.bot.cookies.desktop
|
this.bot.isMobile ? this.bot.cookies.mobile : this.bot.cookies.desktop, [
|
||||||
|
'bing.com',
|
||||||
|
'live.com',
|
||||||
|
'microsoftonline.com'
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
const fingerprintHeaders = { ...this.bot.fingerprint.headers }
|
const fingerprintHeaders = { ...this.bot.fingerprint.headers }
|
||||||
|
|||||||
@@ -24,7 +24,11 @@ export class Quiz extends Workers {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
this.cookieHeader = this.bot.browser.func.buildCookieHeader(
|
this.cookieHeader = this.bot.browser.func.buildCookieHeader(
|
||||||
this.bot.isMobile ? this.bot.cookies.mobile : this.bot.cookies.desktop
|
this.bot.isMobile ? this.bot.cookies.mobile : this.bot.cookies.desktop, [
|
||||||
|
'bing.com',
|
||||||
|
'live.com',
|
||||||
|
'microsoftonline.com'
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
const fingerprintHeaders = { ...this.bot.fingerprint.headers }
|
const fingerprintHeaders = { ...this.bot.fingerprint.headers }
|
||||||
|
|||||||
@@ -31,7 +31,11 @@ export class UrlReward extends Workers {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
this.cookieHeader = this.bot.browser.func.buildCookieHeader(
|
this.cookieHeader = this.bot.browser.func.buildCookieHeader(
|
||||||
this.bot.isMobile ? this.bot.cookies.mobile : this.bot.cookies.desktop
|
this.bot.isMobile ? this.bot.cookies.mobile : this.bot.cookies.desktop, [
|
||||||
|
'bing.com',
|
||||||
|
'live.com',
|
||||||
|
'microsoftonline.com'
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
const fingerprintHeaders = { ...this.bot.fingerprint.headers }
|
const fingerprintHeaders = { ...this.bot.fingerprint.headers }
|
||||||
|
|||||||
@@ -33,7 +33,11 @@ export class SearchOnBing extends Workers {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
this.cookieHeader = this.bot.browser.func.buildCookieHeader(
|
this.cookieHeader = this.bot.browser.func.buildCookieHeader(
|
||||||
this.bot.isMobile ? this.bot.cookies.mobile : this.bot.cookies.desktop
|
this.bot.isMobile ? this.bot.cookies.mobile : this.bot.cookies.desktop, [
|
||||||
|
'bing.com',
|
||||||
|
'live.com',
|
||||||
|
'microsoftonline.com'
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
const fingerprintHeaders = { ...this.bot.fingerprint.headers }
|
const fingerprintHeaders = { ...this.bot.fingerprint.headers }
|
||||||
|
|||||||
Reference in New Issue
Block a user