ndtv_profit_scraper_safe
A safe, robots.txt-respecting scraper library for collecting public NDTV Profit / NDTV business-news data for Indian market sentiment, swing trading research, and NLP training.
Rules
- Respects
robots.txt. - Does NOT bypass login, paywall, captcha, Cloudflare, anti-bot systems, or rate limits.
- Adds delay, retry, timeout, and logging.
- Saves raw and clean data; returns pandas DataFrames.
- Intended for research and NLP sentiment training only.
Data Categories
Latest news, Markets, Stocks, Business, Economy, Companies, IPO, Personal Finance, Mutual Funds, Commodities, Currency, Videos metadata, Market analysis, Expert views.
Folder Structure
ndtv_profit_scraper_safe/
├── requirements.txt
├── main.py
├── README.md
├── ndtv_profit_scraper/
│ ├── __init__.py
│ ├── config.py
│ ├── http_client.py
│ ├── robots_checker.py
│ ├── url_collector.py
│ ├── html_collector.py
│ ├── parser.py
│ ├── sentiment.py
│ └── storage.py
└── data/
├── raw/
└── clean/
Run
pip install -r requirements.txt
python main.py
Next Improvements
- Add sitemap collector
- Add RSS collector if feed endpoints are confirmed
- Add stock-symbol mapping using NSE master list
- Add impact score: Low / Medium / High
- Add SQLite upsert to avoid duplicates
- Add FastAPI endpoints
- Add scheduler
- Add PostgreSQL storage
- Combine with Moneycontrol, ET, LiveMint, CNBC-TV18, Business Standard
Metadata
Release files for ndtv-profit-scraper-safe 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ndtv_profit_scraper_safe-0.1.0.tar.gz | 12.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ndtv_profit_scraper_safe-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.6 kB
Release files / ndtv_profit_scraper_safe-0.1.0.tar.gz
| Download URL | ndtv_profit_scraper_safe-0.1.0.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c70b407361fda743eb3242a9e2abc4fe8f96572fd8fc626266b45c2092c0c58
|
|
BLAKE2b-256 checksum How to use checksums |
ce7acf2885e1551196868f247c59bbbcdaae5ed63556e3a88e4b8bfa9ad6faa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / ndtv_profit_scraper_safe-0.1.0-py3-none-any.whl
| Download URL | ndtv_profit_scraper_safe-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2851c40018775bcc35b4db0d4f0a3a07d9995710372fb9e6789b40764962833
|
|
BLAKE2b-256 checksum How to use checksums |
611dd73243b2e7f46847f8078925825cee9c450af0ed6423fac15e3430d7b158
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for ndtv-profit-scraper-safe 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.