Rephonic Lead Generator is a Chrome extension designed to assist users in extracting full names and company names of podcast guests from the Rephonic website. This project leverages a background script to facilitate the automation of fetching and processing data, which is subsequently handled by an integrated backend server using Flask and OpenAI's GPT-4 model.
- Automatic Data Extraction: Extracts and processes podcast guest information directly from Rephonic.
- UI Integration: A user-friendly popup interface that guides users through the lead generation process.
- Backend Processing: Uses Flask and OpenAI to analyze and store data.
- Google Chrome: Ensure you have the latest version of Google Chrome installed.
- Python: Ensure you have Python 3.x installed on your system.
- Node.js & npm: Ensure you have Node.js and npm installed.
-
Clone the Repository
git clone https://github.com/hi-tech-AI/chrome-extension-data-extraction.git cd chrome-extension-data-extraction -
Install Backend Dependencies
pip install -r requirements.txt
-
Load Extension in Chrome
- Open Chrome and navigate to
chrome://extensions/. - Enable "Developer mode" in the top right corner.
- Click "Load unpacked" and select the directory containing the cloned repository.
- Open Chrome and navigate to
-
Start the Backend Server
python backend.py
-
Navigate to Rephonic Website
Ensure you are on
https://rephonic.com/home. -
Open the Extension Popup
Click the extension icon in the Chrome toolbar to open the popup.
-
Enter Search Query
Use the form provided in the popup to enter your search query.
-
Initiate Data Extraction
Click the "Start" button when prompted. The extension will start extracting data automatically.
-
Check Results
The extracted data will be saved to
final_result.xlsxin the repository directory.
├── manifest.json
├── popup.html
├── popup.js
├── content.js
├── background.js
├── backend.py
├── requirements.txt
├── logo.png
├── README.md
└── final_result.xlsx
- manifest.json: Configuration file for the Chrome extension.
- popup.html: HTML file for the extension's popup interface.
- popup.js: JavaScript file handling the popup logic.
- content.js: Content script handling interactions with the Rephonic webpage.
- background.js: Service worker script for managing background tasks.
- backend.py: Flask server for processing extracted data.
- requirements.txt: List of Python dependencies.
- logo.png: Logo used for the extension icon.
- final_result.xlsx: Output file where extracted data is stored.
Feel free to fork this project and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.
Ensure that you have the necessary permissions and consents from the website owner before running automated scripts that interact with their site.
This project is licensed under the MIT License - see the LICENSE file for details.
