You need an account to access this website
http://tienganhk12.com/
-
Open file
constant_data.py
-
Replace your email and password
-
Add list of test code this list
This is your test you want to extract
Press button "Làm bài" and this link will like this
http://tienganhk12.com/ex/60/on-nen-tieng-anh-vao-lop-6/q/5154/de-minh-hoa-bai-thi-vao-lop-6-mon-tieng-anh-truong-thcs-cau-giay-so-9/atid/2732057
The last number on this link is test code = 2732057
Add this code to this list. Add more code to get more result :))
def list_of_test_code(): return ["2531365", "2531453", "2531460"]
bash start.sh
python3 index.py
Your result will be here
./data/test{your_test_code}.txt
And it look like this
...
================
Question: Choose the word that differs from the rest in the position of the main stress.
Answer: alien
Answer: expensive
Answer: grocery
Answer: generous
================
Question: Choose the word that differs from the rest in the position of the main stress.
Answer: inhale
Answer: travel
Answer: impress
Answer: design
================
...
Done :)