All Projects → zntfdr → Selenops

zntfdr / Selenops

Licence: mit
A Swift Web Crawler 🕷

Programming Languages

swift
15916 projects
scripting
82 projects

Projects that are alternatives of or similar to Selenops

Goose Parser
Universal scrapping tool, which allows you to extract data using multiple environments
Stars: ✭ 211 (-6.22%)
Mutual labels:  crawler
Innodb Java Reader
A library and command-line tool to access MySQL InnoDB data file directly in Java
Stars: ✭ 217 (-3.56%)
Mutual labels:  command-line-tool
Klog
A plain-text file format and command line tool for time tracking
Stars: ✭ 222 (-1.33%)
Mutual labels:  command-line-tool
Dry Cli
General purpose Command Line Interface (CLI) framework for Ruby
Stars: ✭ 210 (-6.67%)
Mutual labels:  command-line-tool
Jd mask robot
京东口罩库存监控爬虫(非selenium),扫码登录、查价、加购、下单、秒杀
Stars: ✭ 216 (-4%)
Mutual labels:  crawler
Chromium for spider
dynamic crawler for web vulnerability scanner
Stars: ✭ 220 (-2.22%)
Mutual labels:  crawler
Wwdchelper
⏬ Help you get WWDC info easily, especially for subtitles.
Stars: ✭ 208 (-7.56%)
Mutual labels:  command-line-tool
Gitlab Cli
Create a merge request from command line in gitlab
Stars: ✭ 224 (-0.44%)
Mutual labels:  command-line-tool
Sitemap Generator Cli
Creates an XML-Sitemap by crawling a given site.
Stars: ✭ 214 (-4.89%)
Mutual labels:  crawler
Proxybroker
Proxy [Finder | Checker | Server]. HTTP(S) & SOCKS 🎭
Stars: ✭ 2,767 (+1129.78%)
Mutual labels:  crawler
Gorecon
Gorecon is a All in one Reconnaissance Tool , a.k.a swiss knife for Reconnaissance , A tool that every pentester/bughunter might wanna consider into their arsenal
Stars: ✭ 208 (-7.56%)
Mutual labels:  crawler
Geek Life
The Todo List / Task Manager for Geeks in command line
Stars: ✭ 212 (-5.78%)
Mutual labels:  command-line-tool
Licensed
⚖️ ✔️ licensed is an interactive command line tool to help you choose and add licenses to your projects
Stars: ✭ 220 (-2.22%)
Mutual labels:  command-line-tool
Tumblthree
A Tumblr Backup Application
Stars: ✭ 211 (-6.22%)
Mutual labels:  crawler
Bolter
Command-line app for viewing BoltDB file in your terminal
Stars: ✭ 222 (-1.33%)
Mutual labels:  command-line-tool
Reset Windows Update Tool
Troubleshooting Tool with Windows Updates (Developed in Dev-C++).
Stars: ✭ 208 (-7.56%)
Mutual labels:  command-line-tool
Pychromeless
Python Lambda Chrome Automation (naming pending)
Stars: ✭ 219 (-2.67%)
Mutual labels:  crawler
Arachnid
Crawl all unique internal links found on a given website, and extract SEO related information - supports javascript based sites
Stars: ✭ 224 (-0.44%)
Mutual labels:  crawler
Xcparse
Command line tool & Swift framework for parsing Xcode 11+ xcresult
Stars: ✭ 221 (-1.78%)
Mutual labels:  command-line-tool
Ruiji.net
crawler framework, distributed crawler extractor
Stars: ✭ 220 (-2.22%)
Mutual labels:  crawler

Selenops

Selenops logo
Swift Package Manager MacOS + iOS + iPadOS + tvOS + watchOS Twitter: @zntfdr

Welcome to Selenops, a Swift Web Crawler.

Given a webpage url and a word to search, Selenops will look for said word in that page, and all pages linked in there, recursively.

Usage

import Selenops

// Initialize crawler.
let crawler = Crawler(
  startURL: URL(string: "https://fivestars.blog/")!,
  maximumPagesToVisit: 10,
  wordToSearch: "Swift" // Specify the word to search here.
)

// Set delegate.
crawler.delegate = ... // Needs to conform to CrawlerDelegate

// Start crawling!
crawler.start()

The crawler delegate will get information such as visited webpages, and in which webpages the specified word has been found.

Installation

Selenops is distributed via the Swift Package Manager:

  • to use it into an app, follow this tutorial and use this repository URL: https://github.com/zntfdr/Selenops.git.

  • to use it in a package, add it as a dependency in your Package.swift:

 let package = Package(
     ...
     dependencies: [
         .package(url: "https://github.com/zntfdr/Selenops.git", from: "2.0.0")
     ],
     targets: [
        .target(
            ...
            dependencies: ["Selenops"])
     ],
     ...
 )

...and then use import Selenops whenever necessary.

Command line tool

Swift Web Crawler in action

Selenops also comes with a command line tool that showcases its functionality.

To install it, clone the project and run make:

$ git clone https://github.com/zntfdr/Selenops.git
$ cd Selenops
$ make

Credits

Selenops was built by Federico Zanetello as an example of a Swift script.

Contributions and Support

All users are welcome and encouraged to become active participants in the project continued development — by fixing any bug that they encounter, or by improving the documentation wherever it’s found to be lacking.

If you'd like to make a change, please open a Pull Request, even if it just contains a draft of the changes you’re planning, or a test that reproduces an issue.

Thank you and please enjoy using Selenops!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].