Swiftpack.co - poliorcetics/ffn-dl as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by poliorcetics.
poliorcetics/ffn-dl 0.5.0
Fanfiction downloader in Swift
⭐️ 0
🕓 4 years ago
.package(url: "https://github.com/poliorcetics/ffn-dl.git", from: "0.5.0")

ffn-dl

Swift5 compatible SPM compatible

ffn-dl is a pure Swift library to download fanfictions from differents sites.

Features

ffn-dl ships with

  • A Story protocol allowing you to implement your own handler for any site.
  • Author, Chapter and Universe types, easily customisable.
  • Out-of-the-box handling of fanfiction.net.
  • Update fonctionnality that allows you to update a story without downloading fully once again.
  • Metada handling.

Installation

You will need to have access to Swift 5.1 at the very least to use this package, as well as XCode 11.

The Swift Package Manager automates the distribution of Swift code. To use ffn-dl with SPM, add a dependency to your Package.swift file:

let package = Package(
  dependencies: [
    .package(url: "https://github.com/poliorcetics/ffn-dl.git", ...)
    ]
)

Note that Linux is not currently supported.

Building and testing

To build the project, once you have cloned it:

swift build

And to test it:

swift test

Note that this project is a library: you cannot run it.

License

See LICENSE at the root of the project.

GitHub

link
Stars: 0
Last commit: 4 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics