-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App crash when i try to start it #5
Comments
Hello, looks like same as #4
|
It looks good, I'll try to dig it before the end of the month. (And add more information when it crashes, yes the API result is not a valid JSON but why ???????????? gimme more info plz) |
what more information do you need ? |
Like the raw api response before parsing it as JSON, because it fails as it can't be parsed as JSON |
|
maybe it's due to the anti ddos which is on the intranet |
Well done, may we can try to bypass it using a random user agent or by adding more headers? |
Thanks for trying this, it's possible that the API/or some intranet routes are behind a strong anti ddos, so there is nothing we can do to bypass it ... |
I think i managed to bypass the anti ddos using selenium, i made a fork if you want to check what i did |
I just saw that: # initialize the connection with Epitech intra and wait for the end of the anti-ddos check
def bypass_anti_ddos():
url = 'https://intra.epitech.eu/'
driver.get(url)
sleep(10) Can we just do this with Also, I confess that since I'm no longer at epitech, I don't have access to the intra anymore, so I'm less interested in maintaining it. But I'm still open to improvements. |
I used selenium because it open a real google window, and the anti ddos check takes a few seconds before allowing access to the intra. Requests cannot wait for the anti ddos check to finish. So, i don't see how to proceed without Selenium. |
Oh nooooo, I just saw the new anti-ddos check.... |
HAHAHA I'm thinking the anti-ddos check is easy to bypass, I'll dig that soon 👀 |
Ok, i'm gonna look that too |
Hey,
I try to run the app to synchronise my epitech events in my google agenda.
But when I try to run the app this append:
I think i correctly fill the config.json so i don't know why this append
Someone can help me ?
The text was updated successfully, but these errors were encountered: