ScrapeMaster 1.0 - Installation Guide

curve arrowDiscover the project in action

Watch Video

1️⃣ Create a Virtual Environment

Run the following command to create and activate a virtual environment:

bash
python -m venv venv

2️⃣ Install Dependencies

Create a requirements.txt file and copy the following dependencies:

plaintext
openai
python-dotenv
pandas
pydantic
requests
beautifulsoup4
html2text
tiktoken
selenium
readability-lxml
streamlit
streamlit-tags
openpyxl

Then install all dependencies with:

bash
pip install -r requirements.txt

3️⃣ Add Your API Key

Create a .env file and add your OpenAI API key:

plaintext
OPENAI_API_KEY=sk-xxxxxxxx(place your own key)

4️⃣ Download ChromeDriver

Download ChromeDriver from the official website:Chrome for Testing availability

5️⃣ Create the Scraper Script

Save the following script as scraper.py:

python
// Loading...

6️⃣ Create the Streamlit App

Save the following as streamlit_app.py:

python
// Loading...

7️⃣ Run the Streamlit App

Run the following command:

bash
streamlit run streamlit_app.py