erep.lv url update
This commit is contained in:
parent
3e0caae041
commit
44360bd143
@ -290,7 +290,7 @@ class BaseCitizen(access_points.CitizenAPI):
|
||||
|
||||
solve_data = ApiReturn(
|
||||
**self.post(
|
||||
"https://api.erep.lv/captcha/api", data=dict(citizen_id=self.details.citizen_id, src=src, password="CaptchaDevAPI")
|
||||
"https://erep.lv/captcha/api", data=dict(citizen_id=self.details.citizen_id, src=src, password="CaptchaDevAPI")
|
||||
).json()
|
||||
)
|
||||
if solve_data["status"]:
|
||||
@ -871,8 +871,8 @@ class BaseCitizen(access_points.CitizenAPI):
|
||||
|
||||
if re.search(
|
||||
r"Occasionally there are a couple of things which we need to check or to implement in order make "
|
||||
r"your experience in eRepublik more pleasant. <strong>Don\'t worry about ongoing battles, timer "
|
||||
r"will be stopped during maintenance.</strong>|Maintenance. We’ll be back any second now.",
|
||||
r"your experience in eRepublik more pleasant\. <strong>Don't worry about ongoing battles, timer "
|
||||
r"will be stopped during maintenance\.</strong>|Maintenance\. We’ll be back any second now\.",
|
||||
response.text,
|
||||
):
|
||||
self.write_warning("eRepublik is having maintenance. Sleeping for 5 mi#nutes")
|
||||
|
@ -697,7 +697,7 @@ class Reporter:
|
||||
def __init__(self, citizen):
|
||||
self._citizen = weakref.ref(citizen)
|
||||
self._req = Session()
|
||||
self.url = "https://api.erep.lv"
|
||||
self.url = "https://erep.lv"
|
||||
self._req.headers.update(
|
||||
{
|
||||
"user-agent": "eRepublik Script Reporter v3",
|
||||
|
Loading…
x
Reference in New Issue
Block a user