Scraper to fetch details of perople in WhitePages directory
Project Contract
·
Client - Robert
·
Status - Completed
- Prerequisite
- Unpacking
- Installation Dependencies
- Understanding Project File
- Running The Script
- Show Your Support
- Contact Me
- Windows
- Python 3.6 or above
- Chrome Webdriver
Get Chrome WebDriver according to your Google Chrome Version
- Unzip the WhitePages_Scrapper.zip in desired location. Let's assume that we unzip the file in location E:\WhitePages
- After this the path of the Project lookes like E:\WhitePages
- The project folder should look something like this:
- Start terminal and type below command in terminal to point to the project folder:
~$ E:\
~$ cd WhitePages
- Now we need to download all the dependencies required to run the script. For this we will type below command in terminal:
~$ pip3 install -r requirements.txt
This file contains all the dependencies that we need to install on our system. You can delete this file but its Ok to keep it there and forget that it exists.
This file is the main script that we need to run to get the desired output. Please never touch this file.
This file contains all the inportant modules required to execute the script. Please never touch this file.
This file needs to be edited everytime you run the script and so it needs some explation...
-
path_to_chromedriver => Path where the chrome webdriver executeable file is located. Take care of the Double Black Slash.
-
path_to_input_file => Path where the input csv file is located. Take care of the Double Black Slash.
-
path_to_output_file => Path where the output csv file is to be saved. Take care of the Double Black Slash.
This is the input file. You can place this file anywhere as long as you mention the correct path of this file in config.json. The name of the input file can be anything. This file is only for sample purpose.
This is the output file. This file will be saved to the location mentioned in the config.json. The name of the input file can be anything. This file is only for sample purpose.
So before running the script please make sure of two things:
- You have edited the config file properly.
- The pointer in terminal is pointing to the project forlder. If not then use below code:
~$ E:\
~$ cd Whitepages
Now we need to enter below code to execute the script.
~$ python3 script.py
Now just grab yourself a pint of 🍺 and let the script do its task.
If you are happy with my work then please give me ⭐⭐⭐⭐⭐ rating and also leave really nice recommendation/feedback on upwork. This will help me a lot in getting more project. A small and happy bonus is always appreciated 🤩. Also kindly rememeber me if you have any such project or any scraping projects.
Thank You for giving me opportunity to work on this project.
Siddhant Shah - Please feel free to connect to me in case there is any issue in the script or any changes are required. You can contact on below mentioned connects

