0 valutazioniIl 0% ha trovato utile questo documento (0 voti)
10 visualizzazioni1 pagina
The document outlines an approach to extract contact details from TrueCaller by:
1. Obtaining contacts from Google Contacts and storing in a CSV file.
2. Reading the CSV into a Pandas dataframe.
3. Opening a browser using Selenium and logging into TrueCaller.
4. Using a for loop to search each number on TrueCaller and scrape email details using Beautiful Soup.
The document outlines an approach to extract contact details from TrueCaller by:
1. Obtaining contacts from Google Contacts and storing in a CSV file.
2. Reading the CSV into a Pandas dataframe.
3. Opening a browser using Selenium and logging into TrueCaller.
4. Using a for loop to search each number on TrueCaller and scrape email details using Beautiful Soup.
The document outlines an approach to extract contact details from TrueCaller by:
1. Obtaining contacts from Google Contacts and storing in a CSV file.
2. Reading the CSV into a Pandas dataframe.
3. Opening a browser using Selenium and logging into TrueCaller.
4. Using a for loop to search each number on TrueCaller and scrape email details using Beautiful Soup.
Approach To Be Used For The Extraction Of Contact Details
Of Numbers from TrueCaller
1. First step is to get the contacts of all the numbers. That can be done by generating a csv file of the contacts through Google Contacts (in case they are backed up with Google). 2. In the python script, these csv file is read using pandas and the contacts are stored inside a pandas dataframe. 3. Now, by using the selenium package in Python, using webdriver, the browser needs to be opened up and we need to log into our truecaller id by using the login credentials. 4. Now, we can apply a for loop and search for all the numbers in the contact list using the browser.get(‘https://www.truecaller.com/in/<number>’) method for each of the numbers in the pandas dataframe. 5. In the same for loop, the email ids for all these numbers can be scraped and stored inside a variable using the beautiful soup library in Python. Therefore, for all the numbers, the scraping can be done.