Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 813 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 813 Bytes

VOJ_crawler

Crawler for getting my solutions from Vietnam Online Judge VOJ

Installation:

pip install -r requirements.txt

This command will get all your submissions:

 python crawler/VOJ.py <username> <password>

If you want to get accepted submssions only, please try this command:

 python crawler/VOJ.py <username> <password> AC_only

Beware of redirected problem, when you enter http://vn.spoj.com/, it maybe redirect to http://www.spoj.com/ sometime. Try add this into your hosts file.

195.149.199.189 vn.spoj.com

Thank Nguyễn Văn Hoà for sharing that.

If my code get redirected to spoj, it would crawl your submission in SPOJ