Recommended python version is
3.8
The app is tested on
Linux
. But should be run without any problem onWindows
too.
Use the following command to create a virtual environment:
python -m venv <virtual environment name>
ex: python -m venv .venv
To activate virtual environment on Linux
, use the following command:
source <virtual environment path>/bin/activate
ex: source .venv/bin/activate
There is a file called requirements.txt
in project files.
you can use it to install required packages:
pip install -r requirements.txt
Use the following command to update the articles info. This info is about article summary, keywords, download link etc.
python articles.py update
To actually download the articles file, use the following command.
python articles.py download
- You can cancel downloading at any time. All downloaded files are stored and wont be downloaded again.
- You can also use the
update
command periodically to see if a new article in available. - All downloaded content will be stored in
data
directory.