Skip to content

bokhua/vba-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

vba-crawler

HttpClient module


How to use?

####Send GET, POST requests and get html response

HttpGet("url", "var1=a&var2=b")
HttpPost("url", "var1=a&var2=b")

####Match string pattern and return string collection result

result will include boundaries:

MatchString("str to parse", "left boundary", "right boundary", true)

result will not include boundaries:

MatchString("str to parse", "left boundary", "right boundary", false)

####Decode html string

DecodeHTML("<p>hello world</p>")

result will be: <p>hello world</p>

####Convert html string to HTMLDocument object (Requires 'Microsoft HTML Object Library' reference)

ConvertToHTMLDoc("html string")

####Convert html string to DOMDocument object (Requires 'Microsoft XML' reference)

ConvertToXMLDOM("html string")

About

VBA web crawler using http GET/POST

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published