Cloning the repo:
git clone git@github.com:jamesesguerra/article_scraper.git
Making a virtual env:
python -m venv venv
Activating the env:
# windows
\venv\Scripts\activate
# unix
source venv/bin/activate
Installing dependencies:
pip install -r article_scraper/requirements.txt
Change dirs:
cd article_scraper && article_scraper
Run main.py
and enter company number:
Choices:
- Pilipino Star Ngayon [0]
- ABS-CBN News [1]
- GMA Network (Balitambayan) [2]
- KAMI [3]
python main.py
* CSV files are placed inside article_scraper/csv_files/
Run combine_csv.py
in article_scraper/
:
# article_scraper/
python combine_csv.py
This combines all the CSV files in article_scraper/csv_files
into one CSV file named combined_csv.csv
.