Giter Club home page Giter Club logo

paywallremover's Introduction

Paywallremover

Url updater bot for Telegram

Setup

Before program execution set the BOT_TOKEN environment variable with the token provided by BotFather.
By default, the LOG_LEVEL environment variable is set to INFO.
If you want extremly verbose and detailed output, you can set it to TRACE or DEBUG.
If you want less output you can set it to WARN, or for even less output, to ERROR, although this should be avoided.

Usage

Send a message with an URL of a site you want to remove the paywall and the bot will reply to you with removepaywall.com/yoururl. If the site is a Medium site, this will reply with the corresponding Freedium link and it will automatically remove Medium tracking GET arguments. Due to the fact that they are treated differently, the medium urls are considered "special". To avoid that the program fetch and scrape the site every time to check if it is special or not, the domains.json file is used. To build the json you can check here and create a domains.json file where the program is executed, using the following template:

{
    "special_domains": [
        "medium.com"
    ],
    "not_special_domains": [
        "github.com",
        "reddit.com"
    ]
}

If you want to use a different name or path for the domains file, set the DOMAIN_FILE environment variable to the desired path.

Note

This software nor its creator are affiliated with Medium, Freedium or Paywallremover. For copyright complaints about any sort, contact them.
If you use this software, as stated in the LICENSE file, you accept that I am not liable for any use of the software that violates the terms and conditions of any service.

paywallremover's People

Contributors

matteof04 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.