简体   繁体   中英

How to get the html code from webview without usinh jsoup?

I want to get the html code from webview and then put it in textview. Someone suggested me to use jsoup but in my case jsoup doesnt work because my target site have login page.

Example only Getting the html code from

https://mbasic.facebook.com/groups/1185861891542944?refid=27

If I used jsoup It wont get the html from the url above because jsoup cant logun fb.

Im asking for your help on how to get the html code from webview and then put it in textview?

Basicly, you can use jsoup to authenticate and fetch the data from web applications. Take a look at this tutorial.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM