Scraper for disposable phone number services
Project description
# disposable-phonebook
Collect “disposable” phone numbers from various internet sites that offer “receive free SMS to an anonymous number” functionality.
`bash $ dphonebook scrape [{"number": "+16462879071", "area": "New York", "provider": "receive-smss.com", "last_message": 1652437175, "last_checked": 1652438795}, {"number": "+16466623058", "area": "New York", "provider": "receive-smss.com", "last_message": 1652437776, "last_checked": 1652438796}] `
This is useful to online service providers, who want to restrict usage of such numbers on customer profiles, for security reasons (avoiding publicly available 2FA codes).
## Quickstart
`bash $ pip3 install disposable-phonebook $ dphonebook scrape `
See [docs](https://anroots.github.io/disposable-phonebook/) for further details.
## Online API
This project powers [disposable-phonebook.com](https://disposable-phonebook.com), where a list of disposable numbers is available over a free HTTP API.
## Development
Requires Python 3.10
`bash python3 -m venv venv source venv/bin/activate pip install -r requirements-dev.txt pip install --editable . dphonebook --help `
Install [Editorconfig](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig) extension
Install [pre-commit hooks](https://pre-commit.com/#install)
### Releasing
Releases are uploaded automaticaly to pypi on new Git tag creation.
Make sure [Changelog.md](Changelog.md) is updated
Update version number in [setup.py](setup.py)
git tag 0.2.0
## Contribution
Want to add or fix something? Send a pull request.
This project uses (with thanks):
[python-phonenumbers](https://github.com/daviddrysdale/python-phonenumbers) for phone number formatting and metadata
[user-agents](https://github.com/intoli/user-agents) for UA list (ref dphonebook/vendor/user-agents)
## License
Apache2 license (see: [LICENSE](LICENSE))
Project details
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
File details
Details for the file disposable-phonebook-0.4.0.tar.gz
.
File metadata
- Download URL: disposable-phonebook-0.4.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51b8cedc6691ae92fe0c23fa0310537997dddd7665d00952ae30bacdaf02a1bd |
|
MD5 | 28e9d30c390dbcd390455577050bc27f |
|
BLAKE2b-256 | 2e355070128bc3a5b248841a3c8200a62e02b88eff2936815fb6b4d5d1480e7f |
File details
Details for the file disposable_phonebook-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: disposable_phonebook-0.4.0-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17b0a4fd9dba23808d5236e5a6e9048046cdaf2b0b5d12ce8529ff40a32b318b |
|
MD5 | 67255f3b705e2a199b77dff6feb333c3 |
|
BLAKE2b-256 | 47a42dffc69ca67e179bc44d6b4bc8de1266f6d3a7b7012a15b79a033e5a4a4d |