/raker

A social media scraper with less JavaScript than my previous one.

Primary LanguageGoGNU General Public License v3.0GPL-3.0

raker

Go Reference Release Update Documentation

raker's Logo References

Description

raker is full-stack and command-line interface for a social media scraper for Instagram, TikTok and VSCO. Both the server and CLI are written in Go, and the web interface is server-side rendered. Both Instagram and TikTok scraping require authentication cookies, which are stored locally wither on the server's MongoDB instance after provided, or on a file system accesible by the CLI.

Usage Responsibilities

  • You can't attempt to create accounts or access or collect information in unauthorized ways. This includes creating accounts or collecting information in an automated way without our express permission.

You may not:

  • use automated scripts to collect information from or otherwise interact with the Services;

C Service Rules
You agree not to engage in any of the following prohibited activities:

  • (I) copying, distributing, or disclosing any part of the Service in any medium, including without limitation by any automated or non-automated “scraping”,
  • (II) using any automated system, including without limitation “robots,” “spiders,” “offline readers,” etc., to access the Service in a manner that sends more request messages to the VSCO servers than a human can reasonably produce in the same period of time by using a conventional on-line web browser (except that VSCO grants the operators of public search engines revocable permission to use spiders to copy materials from vsco.co for the sole purpose of and solely to the extent necessary for creating publicly available searchable indices of the materials but not caches or archives of such materials),
  • (XI) accessing any content on the Service through any technology or means other than those provided or authorized by the Service,
  • (XII) bypassing the measures we may use to prevent or restrict access to the Service, including without limitation features that prevent or restrict use or copying of any content or enforce limitations on use of the Service or the content therein.

Installation

Docker Compose

The URI environment variable shown below is suitable for when the database is also managed by docker-compose. For any other scenario, the URI should be changed accordingly.

version: "3"
services:
  raker:
    container_name: raker
    build: .
    environment:
      SECRET: a secret
      URI: mongodb://database:27017
      DATABASE: raker
    ports:
      - 4100:4100
    volumes:
      - ./storage:/raker/storage
    depends_on:
      - database
  database:
      container_name: database
      image: mongo:5.0.8
      environment:
        - PUID=1000
        - PGID=1000
      volumes:
        - ./database/:/data/db
      ports:
        - 27017:27017