jsoup不会返回所有cookie

时间:2019-09-13 21:12:21

标签: android kotlin jsoup

Cookie是这样的:

_ga=GA1.3.1543258911.156222; _fbp=fb.2.1562237512434.166967; argus_session=vnof66ki2sd51dogil2

并且仅返回最后一个{argus_session=vnof66ki2sd51dogil2 }

doc = Jsoup.connect("https://classroom.btu.edu.ge/ge/login/trylogin")
.data("username", username).data("password", password).userAgent("Mozilla").method(Connection.Method.POST).execute() 

println(doc.cookies())

0 个答案:

没有答案