Jump to content

Can't use _IEBodyReadHTML to read a website


Recommended Posts

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
Link to comment
Share on other sites

  • 2 weeks later...

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

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

REAL search results  |  SciTE4AutoIt3 Editor Full Version

Link to comment
Share on other sites

  • 2 weeks later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...