command
module
Version:
v0.0.0-...-f960072
Opens a new window with list of versions in this module.
Published: Jun 21, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Scraper
A scheduled scraper written in Go
Usage
-
Add a new task
- Note: The time is in seconds
curl -X POST localhost:4000/api/v1/scraper -d '{"URL": "https://theverge.com", "Time": 10}'
-
Get all results
curl localhost:4000/api/v1/results
-
Get a result
curl localhost:4000/api/v1/result/{id}
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
pkg
|
|
|
|
title
Based on: https://siongui.github.io/2016/05/10/go-get-html-title-via-net-html/
|
Based on: https://siongui.github.io/2016/05/10/go-get-html-title-via-net-html/ |
Click to show internal directories.
Click to hide internal directories.