A script to get student's informations from bac.onec.dz without passing captcha.
How to use:
- Clone the repository.
- Install libraries by entering :
pip install -r requirements
- Simple example :
from bac.bac import Bac
student = Bac(matricule="12345678",
code="123")
## Return student informations
result = student.condidate_result_json()
print(result['الاسم'])
print(result['اللقب'])
print(result['المعدل'])
print(result['الملاحظة'])
print(result['الشعبة'])
print(result['رقم التسجيل'])
## Return if the student succeed or not (True if succeed)
succeed = student.check_condidate_success()
print(succeed)
The provided Python code is intended for educational purposes only and should not be used for any malicious or abusive activities.