Giter Site home page Giter Site logo

aneekroy / webkit-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from niklasb/webkit-server

1.0 2.0 0.0 439 KB

The C++ webkit-server from capybara-webkit with useful extensions and Python bindings

License: MIT License

Shell 0.18% Python 14.34% C++ 74.59% JavaScript 8.45% QMake 2.44%

webkit-server's Introduction

Overview

Author: Niklas Baumstark

A standalone version of the Webkit server included in capybara-webkit. It includes a slim Python wrapper and the following improvements over the original version from thoughtbot:

  • Wait command to wait for the current page to load
  • SetAttribute command to configure certain QWebkit settings
  • SetHtml command to load custom HTML into the browser (e.g. to execute scripts on web pages scraped by a static scraper)
  • SetViewportSize command to set the viewport size of the in-memory browser

If you are interested in web scraping using this server, have a look at dryscrape.

Building and Installing

To install the Python binding (this also builds the server and places it into Python's site-package directory):

sudo python setup.py install

If you don't need the Python bindings, you can also use the supplied build.sh shellscript to build the server only.

A word about Qt 5.6

The 5.6 version of Qt removes the Qt WebKit module in favor of the new module Qt WebEngine. So far webkit-server has not been ported to WebEngine (and likely won't be in the near future), so Qt <= 5.5 is a requirement.

Contact, Bugs, Contributions

If you have any problems with this software, don't hesitate to open an issue on Github or open a pull request or write a mail to niklas baumstark at Gmail.

License

This software is based on capybara-webkit. capybara-webkit is Copyright (c) 2011 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.

webkit-server's People

Contributors

niklasb avatar jferris avatar halogenandtoast avatar mike-burns avatar j16r avatar os0x avatar foobarwidget avatar joshuaclayton avatar tristandunn avatar rectalogic avatar cmeiklejohn avatar joefiorini avatar rb2k avatar hotchpotch avatar agibralter avatar antramm avatar denysonique avatar hubertlepicki avatar jpz avatar leehambley avatar mat813 avatar nicholaides avatar elbandi avatar cgriego avatar dmitriy-kiriyenko avatar jemmyw avatar joemsak avatar johnbintz avatar jkrall avatar foca avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar Aneek Roy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.