m-s-abeer / vjudge-to-oj

Import your vJudge solutions to actual online judges. Currently supports UVa, CodeForces, SPOJ, and CodeForces GYM.
MIT License
59 stars 10 forks source link

Light oj Added #6

Closed sazidnur closed 3 years ago

sazidnur commented 3 years ago

approach: we are creating a webview window with pyqt5 and pyqt5 webengine to login on lightoj, we cant use api due to lightoj has a extra recaptcha on login form , integrated with api. so we are using another window to login manuaaly and then we are extracting cookies from pyqt web engine. then we are setting this cookie on header of requests. other things are as usual like CF or UVA.

inspiration: when i am going to login first time in Git Bash on windows, then gitbash open a popup window, then i logged in manually and then git bash submit my push. i try to implement something this kind of idea on lightoj.