Social-Picker-Twitter-Scrapper

command module
v0.0.0-...-5b8a33c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: BSL-1.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Social Picker Twitter Scrapper

twitter-scraper wrapped for Social-Picker-API

Usage

  1. Install Go
  2. Create credentials.json somewhere – a JSON file, containing username and password. See an example/credentials.json
  3. Install dependencies – go get .
  4. Build package for you platform – go build -o Social-Picker-Twitter-Scrapper
    • run chmod +x Social-Picker-Twitter-Scrapper if created binary is not executable
  5. Login to retrieve this-app-specific cookies – ./Social-Picker-Twitter-Scrapper login cookies.json credentials.json – where
    • login is a method for this app to get authentication
    • cookies.json is a path to persistent cookies file managed by this app
    • credentials.json is a path to credentials file you created at step #2
  6. Check cookies.json (or your filepath) to exist and to be a JSON (array or { "Name": "…", "Value": "…" })
  7. Run ./Social-Picker-Twitter-Scrapper getTweet cookies.json 123456789 – where
    • getTweet is a method for this app to get authentication
    • cookies.json is a path to persistent cookies file managed by this app
    • 123456789 is ID of a tweet you want to get
  8. Outputs errors to stderr, fine tweet in SocialPost format to stdout

BSL-1.0 License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址