Sign in to follow this  
Followers 0
virushandsome

Can't use _IEBodyReadHTML to read a website

4 posts in this topic

#1 ·  Posted (edited)

I use this script to read this web's HTML body. Before I login, everything work OK.

But after I login, this script can't read.

What's problem in this case?

account to login this web:
user: tinhyeu_lagi
pass: tinhyeudep123

#include <IE.au3>
$Url = 'https://www.nhattao.com/threads/ban-sony-z-white-99-gia-tot-cho-ae.2154328/'
$oIE = _IECreate($Url, 1)
_IELoadWait ($oIE)     
$html = _IEBodyReadHTML($oIE)
ConsoleWrite("Body: " & $html & @CRLF)
Edited by virushandsome

Share this post


Link to post
Share on other sites



Anyone solved this?

Share this post


Link to post
Share on other sites

you may need to attach to the new page that loads after login. read the help for _IEAttach() to see if that is what you need.

:alien:


if @error Then
	MsgBox(262192,"",@ComputerName&" slaps "&@UserName&" around a bit with a large trout!")
	EndIf

>Exit code: 0

REAL search results

"Yeah yeah yeah, patience. How long will that take?"  -Ed Gruberman

Share this post


Link to post
Share on other sites

you may need to attach to the new page that loads after login. read the help for _IEAttach() to see if that is what you need.

:alien:

This way can't help :(

I still wait for help!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0