Giter Club home page Giter Club logo

medium_grabber's Introduction

Medium_Grabber

Join the chat at https://gitter.im/Medium_Grabber/Lobby

WHAT THE HECK IS MEDIUM ?

"Medium" is a place to read, write, and interact with the stories that matter most to you. Every day, thousands of voices read, write, and share important stories on Medium.

WHAT DOES THIS PROGRAM BRINGS YOU? :

This is an automated program that lets you grab the link of any article in medium under any topic just by logging into your Google-linked-medium account.

  • Provides you with all the articles(of medium) and their links in the same text file(output.txt)
  • Filters the articles and let's you chose what's most important to you.

Requirements :

  • Selenium (pip install selenium)
  • Web-driver to interface with the chosen browser
  • FPDF (pip install fpdf)

To run this,

For Windows

  • Download and paste everything under the same roof.
  • Install Selenium python package and firefox/chrome webdriver. Mention it's path or place it in the same directory.
  • Install Selenium python package and firefox webdriver for Windows from here. Mention it's path in the code or place it in the same directory. TO RUN ON WEB APP:
  • Windows: Open command prompt and cd to the directory. Run by typing : python -mrun web_app.py
  • If prompted in the terminal, enter your credentials and choose whether to save credentials or not.
  • Open your browser and go to "http://127.0.0.1:1234/".
  • Choose the topic of articles you want as given in the drop-down list.
  • Choose the file format of the output, either PDF or Text.
  • Click on 'Submit' button.
  • Wait a few minutes. You'll be notified by a beep sound when the program finsihes running.

TO RUN ON TERMINAL:

  • Windows: Open command prompt and cd to the directory. Run by typing : python run_on_terminal.py
  • If prompted in the terminal, enter your credentials and choose whether to save credentials or not.
  • Choose the browser and topic of articles you want from the list.
  • Choose the file format of the output, either PDF or Text.
  • Wait a few minutes. You'll be notified by a beep sound when the program finsihes running.

Now browse through the articles and read whichever interests you.

For Linux/Unix

  • Download and paste everything under the same roof.
  • Install Selenium python package and firefox webdriver for suitable version of Linux from here. Mention it's path in the code or place it in the same directory. TO RUN WEB APP:
  • Open Terminal in the directory of the repository. Run by typing : python web_app.py
  • If prompted in the terminal, enter your credentials and choose whether to save credentials or not.
  • Open your browser and go to "http://127.0.0.1:1234/".
  • Choose the topic of articles you want as given in the drop-down list.
  • Choose the file format of the output, either PDF or Text.
  • Click on 'Submit' button.
  • Wait a few minutes.

TO RUN ON TERMINAL:

  • Open Terminal in the directory of the repository. Run by typing : python web_app.py
  • If prompted in the terminal, enter your credentials and choose whether to save credentials or not.
  • Choose the browser and topic of articles you want from the list.
  • Choose the file format of the output, either PDF or Text.
  • Wait a few minutes.

Now browse through the articles and read whichever interests you.

NOTE (For Windows and Linux/Unix)

  • In order to remove your saved credentials, remove "creds.ge.enc" file.

Animation

Now browse through the articles and read whichever interests you. Happy Coding. โœจ :)

medium_grabber's People

Contributors

zer-0-ne avatar adirthaborgohain avatar knayan111 avatar aniruddhachattopadhyay avatar parulc7 avatar dheeraj135 avatar kanishkahalder1771 avatar pratikmishra356 avatar

Watchers

James Cloos 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.