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.
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.
- Selenium (
pip install selenium
) - Web-driver to interface with the chosen browser
- FPDF (
pip install fpdf
)
To run this,
- 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.
- 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.
- In order to remove your saved credentials, remove "creds.ge.enc" file.
Now browse through the articles and read whichever interests you. Happy Coding. โจ :)