ScrapeMaster 1.0 - Installation Guide
Discover the project in action
Watch Video1️⃣ 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
openaipython-dotenvpandaspydanticrequestsbeautifulsoup4html2texttiktokenseleniumreadability-lxmlstreamlitstreamlit-tagsopenpyxl
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
