A neat wrapper around the 4chan API for content scraping.

moonarch

A neat wrapper around the 4chan API for content scraping.

How-To

First, get the repository: go get github.com/lazdotdigital/fourscrape. fourscrape only exposes a single function: Scrape.

Scrape takes two arguments, board, regex string.

  • First, all of the comments on board will be retrieved.
  • Second, all comments that match regex will be returned.

Below is a simple example showing how to use fourscrape to get all hex addresses on biz.

package main

import (
    "fmt"

    "github.com/lazdotdigital/fourscrape"
)

func main() {
    addresses, err := fourscrape.Scrape("biz", "0[xX][0-9a-fA-F]+")
    if err != nil {
        panic(err)
    }
    fmt.Println(addresses)
}
Owner
Laz
Primarily develop in Go and React. I <3 privacy and Web3.
Laz
Similar Resources

a wrapper around BadgerDB providing a simple API.

Carbon Cache A wrapper around BadgerDB providing a simple API. NOTE This package is provided "as is" with no guarantee. Use it at your own risk and al

Sep 27, 2022

The Direct Route GO SDK provides a thin wrapper around the Direct Route API for sending private transactions

Direct Route Go SDK The Direct Route GO SDK provides a thin wrapper around the D

Dec 8, 2022

This project is mostly a fancy wrapper around the Extract Table (github) API

Knockout-City-Stat-Scanner Credits This project is mostly a fancy wrapper around the Extract Table (github) API, they did all the heavy lifting here a

Jan 30, 2022

goxml - A thin wrapper around libxml2

golibxml golibxml is a simple wrapper for libxml. The goal is to avoid any extra magic so that a more friendly library can be written to sit on top of

Oct 25, 2020

A simple wrapper around sql.DB to help with structs. Not quite an ORM.

go-modeldb A simple wrapper around sql.DB to help with structs. Not quite an ORM. Philosophy: Don't make an ORM Example: // Setup require "modeldb" db

Nov 16, 2019

Go wrapper around the Iup GUI toolset

Iup Go Wrapper iup is a Go wrapper around the Iup GUI toolkit. The project was started on April 27, 2011. Fork https://github.com/grd/iup is a fork of

Nov 28, 2020

A simple wrapper around libpcap for the Go programming language

PCAP This is a simple wrapper around libpcap for Go. Originally written by Andreas Krennmair [email protected] and only minorly touched up by Mark Smith

Dec 5, 2022

A tiny wrapper around NSQ topic and channel :rocket:

Event Bus NSQ A tiny wrapper around go-nsq topic and channel. Protect nsq calls with gobreaker. Installation go get -u github.com/rafaeljesus/nsq-even

Sep 27, 2022

Package set is a small wrapper around the official reflect package that facilitates loose type conversion and assignment into native Go types.

Package set is a small wrapper around the official reflect package that facilitates loose type conversion and assignment into native Go types. Read th

Dec 27, 2022

A wrapper around cd and xdg-open to use aliases to directory paths in terminal

CDD - Change directories Dynamically I am a lazy linux user and turns out that basic tab completion wasn't enough for me to navigate through my direct

Dec 15, 2022

Convenience wrapper around "go test" + "benchstat".

go-benchrun Convenience wrapper around "go test" + benchstat. Run benchmarking in 1 simple command. Installation & Quick start This install go-benchru

Jul 13, 2022

a simple wrapper around resty to report HTTP calls metrics to prometheus

restyprom a simple wrapper around resty to report HTTP calls metrics to prometheus If you're using resty and want to have metrics of your HTTP calls,

Sep 25, 2022

Go wrapper around Device Console Windows tool.

go-devcon Go wrapper around the Windows Device Console (devcon.exe). go install github.com/mikerourke/go-devcon Introduction Here's a brief overview

Nov 4, 2021

Testing the use of a golang wrapper around UserMode Linux for making stdin

This code is for testing the use of a golang wrapper around UserMode Linux for making stdin, stdout and stderr available to attach, detach and reattach to from the host using Unix sockets.

Dec 24, 2021

Simple wrapper around multiple fs.FS instances, recursively merging them together dynamically.

go-layerfs This is a simple wrapper around multiple fs.FS instances, recursively merging them together dynamically. If you have two directories, of wh

Aug 9, 2022

A light wrapper around R.

arr A light wrapper around R. Install go get github.com/devOpifex/arr or go install github.com/devOpifex/arr@latest Help arr -h Completion See documen

Dec 11, 2021

a small wrapper around go-chi HTTP router.

sigma a small wrapper around go-chi HTTP router. NOTE: This package is provided "as is" with no guarantee. Use it at your own risk and always test it

May 14, 2022

A simple wrapper around badgerDB that can be used across multiple projects

mstore Mstore is a simple wrapper around badgerDB for platform applications that require a quick persistent cache close to the consumer. It's intended

Dec 14, 2021

Resilient wrapper around Go http.Client that uses exponential backoff and jitter for retries.

Hardy Hardy is a very simple wrapper around http.Client that enables you to add more resilience and reliability for your HTTP calls through retries. A

Dec 29, 2022
🦙 acao(阿草), the tool man for data scraping of https://asoul.video/.

?? acao acao(阿草), the tool man for data scraping of https://asoul.video/. Deploy to Aliyun serverless function with Raika update_member Update A-SOUL

Jul 25, 2022
Youtube tutorial about web scraping using golang and Gocolly

This is an example project I wrote for a youtube tutorial about webscraping using golang and gocolly It extracts data from a tracking differences webs

Mar 26, 2022
Implementing WEB Scraping with Go

WEB Scraping with Go In this project I implement a WEB scraper that create a CSV file with quotes and authors from the Pensador programing Web Page. R

Dec 10, 2021
Simple content crawler for joyreactor.cc
Simple content crawler for joyreactor.cc

Reactor Crawler Simple CLI content crawler for Joyreactor. He'll find all media content on the page you've provided and save it. If there will be any

May 5, 2022
NEAT (NeuroEvolution of Augmenting Topologies) implemented in Go
NEAT (NeuroEvolution of Augmenting Topologies) implemented in Go

CURRENTLY NOT WORKING! There will be a further notice when it's updated. NEAT (NeuroEvolution of Augmenting Topologies) is a neuroevolution algorithm

Dec 4, 2022
The NVD API is an unofficial Go wrapper around the NVD API.

NVD API The NVD API is an unofficial Go wrapper around the NVD API. Supports: CVE CPE How to use The following shows how to basically use the wrapper

Jan 7, 2023
Svenska-yle-rss-content-fixer - Attach content to Svenska Yle RSS feeds

svenska-yle-rss-content-fixer This little tool attaches article content to the S

Oct 4, 2022
Unofficial but convenient Go wrapper around the NVD API

NVD API The NVD API is an unofficial Go wrapper around the NVD API. Supports: CVE CPE How to use The following shows how to basically use the wrapper

Nov 1, 2021
A Go wrapper around the Notion API

go-notion A Go wrapper around the Notion API. | ⚠ This package is new and under active development. How to Use Install the package go get github.com/b

Nov 19, 2021
A dead simple Go wrapper around the hidden moonarch.app API.

moonarch A dead simple Go wrapper around the hidden moonarch.app API. How-To First, get the repository: go get github.com/lazdotdigital/moonarch. moon

Nov 27, 2021