Skip to content

unkwn1-repo/gghtml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gghtml - (Go GET HTML) a threaded html source downloader.

Speed up the GET request and HTML retrieval.

I created gghtml to speed up the downloading of a webpage html source code which was previously done in python. Below is an example usage from my python project.

Usage

import subprocess

# a: string = list of urls comma separated
a = "<url1>,<url2>"

return_json = subprocess.run(
  ["go", "<gghtml_DirPath>", a],
  capture_output=True
)

Return

// The return object is a string dumped to 
// stdout in the formatted object below
// Articles (list)
//  |-> webpage (items)

{"Articles": [
  {"InputOrder": int, "html": string}]
}

TODO

  • comparison Go vs Python
  • Shared Binary

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages