Giter Club home page Giter Club logo

mobify's Introduction

mobify Build Status

Download a webpage as an e-book

Install

PyPI version

pip install mobify

You may need to run sudo apt-get install zlib1g-dev if lxml install fails (python3.4-dev package is required as well to compile lxml).

virtualenv

virtualenv --system-site-packages env3 -p python3
pip install -U -e .

For Kindle users

You need to install calibre package to be able to convert epub to mobi (using ebook-convert)

apt-get install calibre

Usage

mobify "http://histmag.org/william-wallace-bohater-szkotow-bohater-popkultury-11698"

Or you can render a multi-chapter ebook from several URLs (simply separate them with spaces):

mobify "http://histmag.org/william-wallace-bohater-szkotow-bohater-popkultury-11698" "http://histmag.org/Historia-Szkocji-10-dat-ktore-powinienes-znac-10028"

epub and mobi files will be saved in your working directory.

You can force a specific source to be used to parse the URL:

mobify 'https://deeplearningsandbox.com/how-to-build-an-image-recognition-system-using-keras-and-tensorflow-for-a-1000-everyday-object-559856e04699#.oqknumtc6' --source MediumSource

Debugging

Simply set DEBUG env variable to 1.

DEBUG=1 mobify ...

Supported sources

  • Blogspot
  • dzieje.pl
  • histmag.org
  • medium.com
  • oreilly.com/ideas
  • readthedocs.io
  • Tumblr
  • Wikipedia

mobify's People

Contributors

macbre avatar

Watchers

 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.