ptrkrlsrd / scraper

A scheduled scraper written in Go as a part of a job application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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}
    

About

A scheduled scraper written in Go as a part of a job application

License:MIT License


Languages

Language:Go 100.0%