kimuraframework | modern web scraping framework written in Ruby | Crawler library
kandi X-RAY | kimuraframework Summary
kandi X-RAY | kimuraframework Summary
kimuraframework is a Ruby library typically used in Automation, Crawler, Selenium applications. kimuraframework has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.
Kimurai is a modern web scraping framework written in Ruby which works out of box with Headless Chromium/Firefox, PhantomJS, or simple HTTP requests and allows to scrape and interact with JavaScript rendered websites
Kimurai is a modern web scraping framework written in Ruby which works out of box with Headless Chromium/Firefox, PhantomJS, or simple HTTP requests and allows to scrape and interact with JavaScript rendered websites
Support
Quality
Security
License
Reuse
Support
kimuraframework has a medium active ecosystem.
It has 952 star(s) with 130 fork(s). There are 31 watchers for this library.
It had no major release in the last 6 months.
There are 28 open issues and 29 have been closed. On average issues are closed in 17 days. There are 8 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of kimuraframework is v1.4.0
Quality
kimuraframework has 0 bugs and 0 code smells.
Security
kimuraframework has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
kimuraframework code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
kimuraframework is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
kimuraframework releases are not available. You will need to build from source code and install.
Installation instructions, examples and code snippets are available.
kimuraframework saves you 773 person hours of effort in developing the same functionality from scratch.
It has 1779 lines of code, 134 functions and 36 files.
It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed kimuraframework and discovered the below as its top functions. This is intended to give you an instant insight into kimuraframework implemented functionality, and help decide if they suit your requirements.
- Build a browser browser engine .
- Creates a new Engine instance
- Creates a new Engine instance .
- Tries to check if the current page is necessary .
- Perform a visit request .
- Perform an HTTP request
- Runs the runner .
- Returns true if the request should be found
- Get the current application with given name
- Deploys the deployment
Get all kandi verified functions for this library.
kimuraframework Key Features
No Key Features are available at this moment for kimuraframework.
kimuraframework Examples and Code Snippets
No Code Snippets are available at this moment for kimuraframework.
Community Discussions
Trending Discussions on kimuraframework
QUESTION
Web scraping with Kimurai gem
Asked 2020-Jan-29 at 18:40
I am doing some web scraping with the Kimurai Ruby gem. I have this script that works great:
...ANSWER
Answered 2020-Jan-29 at 18:40You can slightly modify your code like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kimuraframework
Kimurai requires Ruby version >= 2.5.0. Supported platforms: Linux and Mac OS X.
If your system doesn't have appropriate Ruby version, install it:
Install Kimurai gem: $ gem install kimurai
Install browsers with webdrivers:
You can automatically setup required environment for Kimurai on the remote server (currently there is only Ubuntu Server 18.04 support) using $ kimurai setup command. setup will perform installation of: latest Ruby with Rbenv, browsers with webdrivers and in additional databases clients (only clients) for MySQL, Postgres and MongoDB (so you can connect to a remote database from ruby). To perform remote server setup, Ansible is required on the desktop machine (to install: Ubuntu: $ sudo apt install ansible, Mac OS X: $ brew install ansible). It's recommended to use regular user to setup the server, not root. To create a new user, login to the server $ ssh root@your_server_ip, type $ adduser username to create a user, and $ gpasswd -a username sudo to add new user to a sudo group.
--ask-sudo pass this option to ask sudo (user) password for system-wide installation of packages (apt install)
--ssh-key-path path/to/private_key authorization on the server using private ssh key. You can omit it if required key already added to keychain on your desktop (Ansible uses SSH agent forwarding)
--ask-auth-pass authorization on the server using user password, alternative option to --ssh-key-path.
-p port_number custom port for ssh connection (-p 2222)
--repo-url provide custom repo url (--repo-url git@bitbucket.org:username/repo_name.git), otherwise current origin/master will be taken (output from $ git remote get-url origin)
--repo-key-path if git repository is private, authorization is required to pull the code on the remote server. Use this option to provide a private repository SSH key. You can omit it if required key already added to keychain on your desktop (same like with --ssh-key-path option)
If your system doesn't have appropriate Ruby version, install it:
Install Kimurai gem: $ gem install kimurai
Install browsers with webdrivers:
You can automatically setup required environment for Kimurai on the remote server (currently there is only Ubuntu Server 18.04 support) using $ kimurai setup command. setup will perform installation of: latest Ruby with Rbenv, browsers with webdrivers and in additional databases clients (only clients) for MySQL, Postgres and MongoDB (so you can connect to a remote database from ruby). To perform remote server setup, Ansible is required on the desktop machine (to install: Ubuntu: $ sudo apt install ansible, Mac OS X: $ brew install ansible). It's recommended to use regular user to setup the server, not root. To create a new user, login to the server $ ssh root@your_server_ip, type $ adduser username to create a user, and $ gpasswd -a username sudo to add new user to a sudo group.
--ask-sudo pass this option to ask sudo (user) password for system-wide installation of packages (apt install)
--ssh-key-path path/to/private_key authorization on the server using private ssh key. You can omit it if required key already added to keychain on your desktop (Ansible uses SSH agent forwarding)
--ask-auth-pass authorization on the server using user password, alternative option to --ssh-key-path.
-p port_number custom port for ssh connection (-p 2222)
--repo-url provide custom repo url (--repo-url git@bitbucket.org:username/repo_name.git), otherwise current origin/master will be taken (output from $ git remote get-url origin)
--repo-key-path if git repository is private, authorization is required to pull the code on the remote server. Use this option to provide a private repository SSH key. You can omit it if required key already added to keychain on your desktop (same like with --ssh-key-path option)
Support
You can use all the power of familiar Rails core-ext methods for scraping inside Kimurai. Especially take a look at squish, truncate_words, titleize, remove, present? and presence.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page