switch to a user agent befitting a nonhuman
This commit is contained in:
parent
dd2cf0b641
commit
e4b5033ffe
2
main.py
2
main.py
|
@ -32,7 +32,7 @@ class bird_inst():
|
||||||
threading.Thread(target=self.irc.run, kwargs={"event_handler": irc_handler}, daemon=True).start()
|
threading.Thread(target=self.irc.run, kwargs={"event_handler": irc_handler}, daemon=True).start()
|
||||||
def auth(self, name, passwd):
|
def auth(self, name, passwd):
|
||||||
h = {
|
h = {
|
||||||
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0",
|
"User-Agent": "renabot",
|
||||||
"Origin": "https://deek.chat",
|
"Origin": "https://deek.chat",
|
||||||
"DNT": "1",
|
"DNT": "1",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue