☰ Menu
Home›Command-line Tools›flyscrape
CLI Open source 2 installs/mo

flyscrape for Mac

flyscrape

Standalone and scriptable web scraper

flyscrape — overview

Flyscrape is a command-line web scraping tool designed for those without advanced programming skills, enabling precise extraction of website data.

Installation · Documentation · Releases

Demo

Features Standalone: Flyscrape comes as a single binary executable. jQuery-like: Extract data from HTML pages with a familiar API. Scriptable: Use JavaScript to write your data extraction logic. System Cookies: Give Flyscrape access to your browsers cookie store. Browser Mode: Render JavaScript heavy pages using a headless Browser. Nested Scraping: Extract data from linked pages within a single scrape.

Overview Example Installation Recommended Homebrew Pre-compiled binary Compile from source Usage Configuration Query API Flyscrape API Document Parsing File Downloads Issues and suggestions

Example

This example scrapes the first few pages form Hacker News, specifically the New, Show and Ask sections.

Check out the examples folder for more detailed examples.

Installation

Recommended

The easiest way to install flyscrape is via its install script.

Homebrew

For macOS users flyscrape is also available via homebrew:

Pre-compiled binary

flyscrape is available for MacOS, Linux and Windows as a downloadable binary from the releases page.

Compile from source

To compile flyscrape from source, follow these steps: Install Go: Make sure you have Go installed on your system. If not, you can download it from https://go.dev/. Install flyscrape: Open a terminal and run the following command:

Usage

Configuration

Below is an example scraping script that showcases the capabilities of flyscrape. For a full documentation of all configuration options, visit the documentation page.

Query API

Flyscrape API

Document Parsing

File Downloads

Issues and Suggestions

If you encounter any issues or have suggestions for improvement, please submit an issue.

Details

独立且可脚本化的网页爬虫

How to install flyscrape

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2024-11-24; current version v0.9.0, with the latest 10 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
v0.9.02024-11-24Stable9.7 MBDownloadDownloadDownload
v0.8.12024-03-07Stable10.5 MBDownloadDownloadDownload
v0.8.02024-02-24Stable10.5 MBDownloadDownloadDownload
v0.7.22024-02-17Stable7.3 MBDownloadDownloadDownload
v0.7.12024-02-09Stable7.3 MBDownloadDownloadDownload
v0.7.02024-02-07Stable7.3 MBDownloadDownloadDownload
v0.6.12024-01-08Stable7.3 MBDownloadDownloadDownload
v0.6.02023-12-04Stable7.3 MBDownloadDownloadDownload
v0.5.02023-11-18Stable7.2 MBDownloadDownloadDownload
v0.4.12023-11-13Stable7.1 MBDownloadDownloadDownload

Data from GitHub Releases; stable releases first, each group sorted newest first.

Compared with similar apps

Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
flyscrapev0.9.0MPL-2.0CLI2
bower1.8.14MITCLI4
gwt2.13.1Apache-2.0CLI1
kore4.2.3ISCCLI1

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…