Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IntGetFile when website is "Cloudflare" protected
#3
try this


Code:
Copy      Help
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 758 358 "Dialog"
;3 ActiveX 0x54030000 0x0 4 36 750 317 "SHDocVw.WebBrowser {8856F961-340A-11D0-A96B-00C04FD705A2}"
;4 Button 0x54032000 0x0 40 12 48 14 "Button"
;END DIALOG
;DIALOG EDITOR: "" 0x2040800 "*" "" "" ""

str controls = "3"
str ax3SHD
if(!ShowDialog(dd &sub.DlgProc &controls)) ret


#sub DlgProc
function# hDlg message wParam lParam

sel message
,case WM_INITDIALOG
,SHDocVw.WebBrowser we3
,we3._getcontrol(id(3 hDlg))
,we3._setevents("sub.we3")
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case 4 ;;Button
,we3._getcontrol(id(3 hDlg))
,we3.Navigate("http://annuaire-telechargement.com")
ret 1

#sub we3_DocumentComplete
function IDispatch'pDisp VARIANT&URL SHDocVw.WebBrowser'c
MSHTML.IHTMLDocument2 doc=c.Document
str doctitle= doc.title
;out doctitle
if doctitle="Annuaire Telechargement - Site de Téléchargement Gratuit"
,;out doc.body.outerHTML
,;out "--------------------------------"
,out doc.body.innerHTML


Messages In This Thread
RE: IntGetFile when website is "Cloudflare" protected - by Kevin - 02-06-2019, 11:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)