Extracting contact-info from the website homepage
Project description
samparka
Prints the email and the phone number from the website. Phone number is available for Nepal & USA as of now
Developed by Ujjawal Shah (c) 2022
Examples of How To Use Package
Get contact email from the website homepage
import samparka
homepage = samparka.Scrollhomepage('https://howard.edu/')
email_adresses = homepage.emails()
print(f'emails: {email_adresses}')
Output:
emails: emails: ['admission@howard.edu', 'hugsadmission@howard.edu']
Get phonenumbers from the homepage
import samparka
#to see which countries are available for the phone numbers
print(samparka.__availablecountries__)
Output:
['Nepal', 'USA']
import samparka
homepage = samparka.Scrollhomepage('https://howard.edu/')
phone_numbers = homepage.phonenumbers('USA)
print(f'phone_numbers: {phone_numbers}')
Output:
phone_numbers: ['202-806-2763', '202-806-4465', '202-865-6100', '3341862722', '202-806-2755', '202-806-6800', '202-806-6100', '1-800-822-6363']
import samparka
homepage = samparka.Scrollhomepage('https://www.setopati.com/')
phone_numbers = homepage.phonenumbers('Nepal')
print(f'phone_numbers: {phone_numbers}')
Output:
['+977-1-5429319', '9741857838', '9772067662', '9771494820', '9703857991', '9823847051', '9839993648', '9644041575', '9801123339', '9872264189', '9873538472', '9860830966', '9830826490', '+977-1-5428194', '9731283648', '9652935037', '9702006458', '9851123339']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file samparka-0.0.2.tar.gz.
File metadata
- Download URL: samparka-0.0.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51cf07a726d6183c7ca56bee7a9c70dc7bb3acd808a20b3b78a72c9fc8197127
|
|
| MD5 |
304f8762b4c6afd16a10c387e41c4a45
|
|
| BLAKE2b-256 |
39d2d1bfe2e3f177c671b9a88920ea44507dfb17e722f8a10bedb3a7a6470726
|
File details
Details for the file samparka-0.0.2-py3-none-any.whl.
File metadata
- Download URL: samparka-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30c2f37f8110dd800572da71b81110594e448954553bf39ccd0ffb5060be76e8
|
|
| MD5 |
16ae66f6cd92f6bbba773dfb02d7e5aa
|
|
| BLAKE2b-256 |
3a49029f546ced5dc5a63c91105d4e599743e368c592eedb09393f68dbb9e403
|